Re: [xml-dev] Simple XPath question
On 8/3/05, Paul Popiel <> wrote:
> whats a clean xpath expression to get the element A which has a child
> element C with @name=something
Clean? Hmm. :)
//C[@name='something' and ../../node::name() = 'A']
{untested, of course}
Alex
--
"Ultimately, all things are known because you want to believe you know."
- Frank Herbert
__ http://shelter.nu/ __________________________________________________