This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: select all elements except root


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]