[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Escaping the root node when using xsl:copy-of

Subject: [xsl] Escaping the root node when using xsl:copy-of
From: "Satish Terala" <saterala@xxxxxxxxxxx>
Date: Wed, 28 Jan 2004 10:31:45 +0530

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.

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

Current Thread