xsl-list
[Top] [All Lists]

Escaping the root node when using xsl:copy-of

2004-01-27 22:01:45
Hi 
Is there any way i can escape the root node (just the element tag) being copied 
while all the children are copied as is.
Currently am using <xsl:copy-of select="node()[not(self::DURATION)]"/> which 
copies everything except the DURATION child. Problem it also copies the root 
node which is the node where i start copying. I understand the the temporary 
tree which i constructed is copied completely on using xsl:copy-of, but is 
there any that i can avoid the root element tag from being copied.
thanks
-Satish

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list