Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: looking for an an XPath/XQuery equivalent to a regexp pattern [Thread Next] Re: looking for an an XPath/XQuery equivalent to a regexp patternTo: NULL Date: 2/11/2009 7:09:00 PM S Perryman wrote: > Looking for elements only. So : > > <x-y-pattern-z> > <x-pattern> So you want to match on the element name, not the contents. > I will try the expr you gave me (thanks) . The example I presented matches on the element contents, not the name. If you want to match on the name you are left with //*[matches(local-name(), 'regularexpressiongoeshere')] -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
