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 16:38:27 +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 Hotmail。 http://www.hotmail.com



Current Thread