Subject: RE: Re: [xsl] finding position in list of siblings From: cknell@xxxxxxxxxx Date: Fri, 09 Jul 2004 16:31:52 -0400 |
<xsl:template match="BROTHER"> <xsl:value-of select="count(preceding-sibling::*[name()='BROTHER'])" /> </xsl:template>
-- Charles Knell cknell@xxxxxxxxxx - email
-----Original Message----- From: John C Cartwright <John.C.Cartwright@xxxxxxxx> Sent: Fri, 09 Jul 2004 13:29:36 -0600 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] finding position in list of siblings
Try this template:
<xsl:template match="BROTHER"> <xsl:value-of select="count(preceding-sibling::*[name()='BROTHER')" /> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] finding position in list , John C Cartwright | Thread | [xsl] Muenchian grouping: help with, Justin Anderson |
Re: [xsl] finding position in list , Wendell Piez | Date | Re: [xsl] FO error, J.Pietschmann |
Month |