checking first sibling
Hi there,
I have
<xsl:if test="...">
something
</xsl:if>
and I need the test expression to return true, if (and only if) the first sibling of the current element is element <reset>. For example, if I have
<a/>
<b/>
<reset/>
<c/>
<d>
<e>
<f/>
</e>
</d>
<reset/>
<x/>
<y/>
the expression should return true at <b/> and <d>. What is the correct expression for that?
Thanks for any help...
Stavinoha
|