works perfectly! Thanks for the prompt response.
-- john
cknell(_at_)onebox(_dot_)com wrote:
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(_dot_)C(_dot_)Cartwright(_at_)noaa(_dot_)gov
=====================================================