[Home] [By Thread] [By Date] [Recent Entries]

Subject: Is it possible to know position of ancestor?
From: evgeniy.strokin@xxxxxxxxxxxxxxxx
Date: Thu, 17 Oct 2002 18:19:22 GMT
Let say we have such XML:
<root>
<line>
<a/>
<b/>
</line>
<line>
<a/>
<b/> - (I?m here)
</line>
??
</root>


We are in tag "b", which in second tag "line". But we don't know what we are in second tag "line". We want to find out what is position of our ancestor in their ancestor.
Is it possible using Xpath?


Thanks,
Jenya


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member