OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Simple XPath question

[ Lists Home | Date Index | Thread Index ]

> 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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS