Subject: Locate specific occurrence of element using XPath From: "Takuki Kamiya" <kamiya@xxxxxxxxxxxxxxxxxxxxxxxx> Date: Sun, 19 Sep 1999 20:45:38 +0900 |
Hi, I have been having a hard time in trying to figure out if it is at all possible to tell XSLT to locate 4th <E> element which comes right beneath <A>/<C> in the example below using a single XPath expression. Any help or hint will be appreciated. <A> <B> <E></E> <E></E> ... <C> <E></E> <E></E> </C> <C> <E></E> <E></E> <- I am trying to locate this element <E></E> <E></E> </C> <D> <E></E> <E></E> ... </D> </A> I tried "A/C/E[4]", but apparently it does not work... (I learnt why "A/C/E[4]" would not work by reading the spec.) Thanks, - Takuki Kamiya XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Extension functions in XT (was Re: , Edd Dumbill | Thread | Re: Locate specific occurrence of e, zun |
Re: HTML forms with XSLT slideshow , Nikita Ogievetsky | Date | Re: Locate specific occurrence of e, zun |
Month |