xsl-list
[Top] [All Lists]

how to get the position of first special element?

2004-06-06 01:38:27
ALL,

For example,
<element>
<A/>
<B/>
<A/>
<C/>
<C/>
<D/>
</element>

I want to get the position first element whoes name is not A and B, but C & D. So it's 4 for this tree segment.
How can I write the xslt to figure out this ?

Thanks,
Chen Yi

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com


<Prev in Thread] Current Thread [Next in Thread>