|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Getting the root namespace from the input document
On 2/5/07, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:
On 2/5/07, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote: > <xsl:template match="/"> > <Metadata> > <xsl:copy-of select="namespace::node()"/> > </Metadata> > </xsl:template> I did, well spotted! But namespace:: axis is deprecated in XSLT 2.0 (though, Saxon supports it) That's interesting... wasn't aware of that. If you are using XSLT 2.0, the following is perhaps a portable way:
|
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
|






