|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: finding position in list of siblings
You're welcome. For the record, I made a typo when left out the closing square bracket in the predicate. Here is the correct template:
<xsl:template match="BROTHER"> <xsl:value-of select="count(preceding-sibling::*[name()='BROTHER'])" /> </xsl:template>
-----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: finding position in list of siblings works perfectly! Thanks for the prompt response. -- john cknell@xxxxxxxxxx wrote: Try this template: -- ==================================================== John Cartwright Associate Scientist Geospatial Data Services Group CIRES, National Geophysical Data Center/NOAA (303) 497-6284 John.C.Cartwright@xxxxxxxx ====================================================
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








