Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XPath Asp.net [Thread Next] Re: XPath Asp.netTo: NULL Date: 10/1/2006 4:55:00 PM On 30 Sep 2006 03:27:17 -0700, "Nishad" <psnishad@g...> wrote: >Anybody knows how to write xpath in Asp.net to search xml file to get >nodes with attributes,the value of which is same as a given valueas we >use like expression in SQL You need the XPath strung function "contains" eg <xsl:value-of select="contains(@myattribute, 'valuestring')" /> HTH Cheers - Neil ------------------------------------------------ Digital Media MVP : 2004-2006 http://mvp.support.microsoft.com/mvpfaqs | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
