RE: exclude-result-prefixes Editors please note:
David Carlisle said: >> I can tell xt not to bother making the output namespace >> sensitive by using exclude-result-prefixes? > >No, the output (in the XML method) will always be namespace sensitive >(ie generate the specified result tree if parsed by a namespace aware >parser) > >What it won't do is put xmlns:xxx declarations on the output that are >not used. If you actually use that namespace and have declared that ^^^^^ >namespace in exclude-result-prefixes then the spec isn't exactly clear >what is supposed to happen, but the implication is (since that's what >happens for elements in the xsl namespace) that it isn't an error >and the declaration _does_ appear. ? What do you mean 'use'? please. As in <xsl:copy> something with a ns prefix </xsl:copy> I.e. If I add something to the output tree that uses namespaces, then it should put xmlns:xxx declarations on the output? Concerned that the spec is clear here. Regards, DaveP 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