Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - xpath to select all the elements in XML with one exception only >Thread Next - Re: xpath to select all the elements in XML with one exception only Re: xpath to select all the elements in XML with one exception onlyTo: NULL Date: 2/7/2008 1:29:00 PM khalil_mi@h... wrote: > Hi > > I need an efficient xpath 2.0 expressions to apply it to the following > input xml > > <tag1> > <tag2> > ......... many elements here > </tag2> > <tag3> > <tag4> a number here</tag4> > ......... many elements here > </tag3> > <tag3> > <tag4> > a number here </tag4> > ......... many elements here > </tag3> > ..... many tag3 elements here > </tag1> > > I need to get all the data in that xml except for the tag3 elements I > need to choose just one whose <tag4> value is equal to a certain value > > Thanks > > Mahmoud It's not clear what do you mean. Provide desired result please. -- Oleg | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
