xsl-list
[Top] [All Lists]

Re: [XSL] copying namesapces with prefix "xmlns:".

2005-08-26 03:10:56


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




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--