|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Random Namespaces Declared with XSLT Stylesheet...
> I've been hacking a quick-and-dirty transform for turning a > custom language [1] into HTML (for presentation), but I've > got some odd behavior. The stylesheet seems to randomly put > namespace declarations where they're not needed. Why is it > doing this? The general rules are: literal result elements copy all in-scope namespaces declared in the stylesheet, other than those you exclude using exclude-result-prefixes copying an element from the source document copies all the in-scope namespaces from that element in the source document creating elements using xsl:element creates only those namespace declarations that are actually needed for the element and attribute names Michael Kay 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
|

Cart








