RE: Saxon fails to exclude result prefixes?
> Basically, what happens when you have two namespace > declarations for the > same namespace URI is (a) your request to exclude a result prefix is > actually a request to exclude all namespace nodes for that namespace > URI; (b) the serializer (according to the XSLT 1.0 spec) is allowed to > add extra namespace nodes, and is required to add them where the > namespace URI is actually used. One would like the serializer > to add the > minimum set of necessary namespace nodes at this stage, but Saxon is > using the rule that if the namespace URI is used in the > result, then it > adds back all the namespace nodes for that URI, regardless of prefix. > This is inelegant, but not non-conformant. The serializer is actually > allowed to output any namespace declarations it chooses. > > Michael Kay Thanks. Lars 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