RE: [xml-dev] Simple XPath question

From
Michael Kay <>
To
'Paul Popiel' <>,
Date
2005-08-03T08:12:36Z
Thread
RE: [xml-dev] Simple XPath question
> 
> 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/