Subject: Re: [xsl] finding position in list of siblings From: "John C Cartwright" <John.C.Cartwright@xxxxxxxx> Date: Fri, 09 Jul 2004 13:29:36 -0600 |
Try this template:
<xsl:template match="BROTHER"> <xsl:value-of select="count(preceding-sibling::*[name()='BROTHER')" /> </xsl:template>
-- ===================================================== John Cartwright Associate Scientist Geospatial Data Services Group CIRES, National Geophysical Data Center/NOAA (303) 497-6284 John.C.Cartwright@xxxxxxxx =====================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] finding position in list , cknell | Thread | RE: Re: [xsl] finding position in l, cknell |
RE: [xsl] finding position in list , cknell | Date | Re: [xsl] finding position in list , Wendell Piez |
Month |