how to get the position of first special element?

Subject: how to get the position of first special element?
From: "Chen Yi" <chen_yi36@xxxxxxxxxxx>
Date: Sun, 06 Jun 2004 17:06:18 +0800
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 Messenger: http://messenger.msn.com/cn



Current Thread