Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - xpath and case-insensitive search >Thread Next - Re: xpath and case-insensitive search Re: xpath and case-insensitive searchTo: NULL Date: 5/1/2006 1:12:00 PM try using: //optionname[text() = 'Transmission: automatic' or text() = 'Transmission: automatic' ] hope this helps, swapna "Bogdan Zamfir" <bzamfir@g...> wrote in message news:1146509708.744993.67070@i...... > Hi, > > I want to find a node in a xml document using xpath > > The cone can contains the following text > > <optionname>Transmission: automatic</optionname> > > or > > <optionname>transmission: automatic</optionname> > > That is, I don't know the cases of transmission word > > So I want to perform a case-insensitive search, so I use a xpath > expresion like this > > //optionname[contains(translate(., 'transmion', > 'TRANSMION'),'TRANSMISSION')] > > But it doesn't works. > > Can anyone tell me what is wrong? > > Thank you > Bogdan Zamfir > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
