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


On 8/3/05, Paul Popiel <PaulP@a...> 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/ __________________________________________________

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