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


> 
> if i have an element structure something along the lines of:
> 
> ...
> <A>
>  <B>
>    <C name = something/>
>  </B>
> </A>
> 
> whats a clean xpath expression to get the element A which has a child
> element C with @name=something

Glad you've got an answer, however please note that in this example there
isn't an A element that has a child element C. The A element shown has a
child B and a grandchild C.

Michael Kay
http://www.saxonica.com/



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