|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Roundtripability of identity transform
> > As an aside, from what you've just said, if the DTD expects a > > namespace declaration but that namespace is redundant and gets > > removed, the document would no longer validate after the identity > > transform (if the DTD was generated in the output). > > yes, if you wrote a dtd that demands xmlns="" on every element > then process it through xslt identity transform you will get no xmlns="" > at all in the output. Tough:-) You can make it validate again by making > the dtd default the namespace back. hmmm, DTDs and XML with namespaces don't play well together. I don't like XML with doctype's and I don't like DTDs at all really (and I _hate_ the idea of defaulted values). I think I'll leave off the of doctype declaration after the identity transform... no point validating twice :)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








