[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 7.1.5 Creating namespace declarations with xsl:namespace
> > The spec is distinctly unclear what is supposed to happen if > you copy a > namespace node. xt doesn't support the namespace axis, and saxon does > as a query, but doesn't seem to copy namespace nodes to the > output (and > It's not clear to me that it should, although that would be useful) > Yes, the spec is currently very unclear, and for some reason in SAXON I made different decisions for xsl:copy and xsl:copy-of. xsl:copy when the current node is a namespace node will copy the namespace node to the result tree. xsl:copy-of when the selected node-set includes a namespace node does nothing. So you could try <xsl:for-each select="namespace::*"><xsl:copy/></xsl:for-each> Mike 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
|