I need a way to count the number of times a tag occurs. Normally, this would be easy: count(tag). Problem is, I cannot specify the tag name, it has to be figured dynamically.
<xsl:value-of select="count(../*[name(../*)=name(.)])" />
That is what I have now, but it doesn't work. The name(../*) only returns the first tag's name. I need to find out if the current tag is unique or not, that's all. Any help is GREATLY appreciated. Thanks in advance!!! ________________________________________
Michael C Flanakin
Indigo Web Systems
michael.flanakin@indigows.com
<xsl:value-of select="count(../*[name(../*)=name(.)])" />
That is what I have now, but it doesn't work. The name(../*) only returns the first tag's name. I need to find out if the current tag is unique or not, that's all. Any help is GREATLY appreciated. Thanks in advance!!! ________________________________________
Michael C Flanakin
Indigo Web Systems
michael.flanakin@indigows.com