[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Differing behavior of Xalan and Saxon with namespa
[Niko Matsakis] [I said] > > Both Xalan and Saxon are correct. True, the Xalan output > declares an > > extra namespace, but the FitnessCenter element does not > belong to that > > namespace. So the presence of the declaration has no effect on the > > interpretation of the document. > > > Not strictly true. Depending on how the FitnessCenter element was > created (literal result element vs xsl:element vs xsl:copy) the XSLT > processor is obliged to copy over different sets of namespace > bindings; I forgot to say that I assumed that Roger had used a literal result element in the stylesheet (since he told us nothing about the source document). I apologise for not saying that clearly. In either case, though, the two documents are equivalent since the FitnessCenter element is in no namespace either way. Cheers, Tom P XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|