[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: [XSL] copying namesapces with prefix "xmlns:".
From: siva <siva@xxxxxxx>
Date: Fri, 26 Aug 2005 15:40:56 +0530
To copy attributes you do
<xsl:copy-of select="attribute::*"/>
But XPath considers those to be namespsace nodes not attributes so:
<xsl:copy-of select="namespace::*"/>



I have treid

<xsl:copy-of select="attribute::*"/>

and this command copied all the attributes except the attributes starts with "xmlns:". This is okay.

But nothing is copied if i use this.

<xsl:copy-of select="namespace::*"/>


Any idea ?? any other reason for this??


Regrds,
Siva

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member