Re: [xml-dev] Simple XPath question

From
Alexander Johannesen <>
To
Paul Popiel <>
Date
2005-08-03T03:41:58Z
ID
<>
Thread
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/ __________________________________________________