Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - XPath for non-empty #text nodes (tDOM) >Thread Next - Re: more XPath struggles (tDOM) more XPath struggles (tDOM)To: NULL Date: 5/2/2008 3:58:00 PM
Hello!
I need to locate all nodes named "mp:date". For some reason, the
$xml selectNodes {//mp:date}
does not find any, but
$xml selectNodes {//*[name()="mp:date"]}
works. What's the reason for the difference? xml_grep (Perl's front-end to
XPath) find the right things with just "//mp:date".
Of these nodes, I, actually, only need the ones, where an attribute
"xc:value" is not "TODAY". How do I express this?
Thanks a lot!
-mi
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
