![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Newbie XPath attribute value question [Thread Next] Re: Newbie XPath attribute value questionTo: NULL Date: 2/2/2005 11:14:00 AM * Nik wrote in comp.text.xml: >I have XML-documents which are quite attribute-heavy and would like >to search all attribute values for match with a certain string, no >matter in what element or attribute they are found. What would the >syntax be? //@*[. = 'text-you-are-looking-for'] Or instead of using = e.g. contains(...) depending on what you are looking for. -- Björn Höhrmann · mailto:bjoern@h... · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
