This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: select all elements except root
- From: "WATKIN-JONES,ADAM (HP-UnitedKingdom,ex1)" <adam_watkin-jones at hp dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 21 Mar 2002 15:37:30 -0000
- Subject: RE: [xsl] select all elements except root
- Reply-to: xsl-list at lists dot mulberrytech dot com
I won't vouch for its elegance, but perhaps
<xsl:template match="*[generate-id(..) != generate-id(/)]">
-----Original Message-----
From: Jhaveri, Harshal
I am a novice user.
I am using <xsl:template match="*"> tag to iterate through all my elements
which includes root element also.
But I don't want to select root element .Does anybody have an elegant
solution.
thanks in advance
Harshal.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list