|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Simple XPath question
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/ __________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








