Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - how to check if previous tag is [Thread Next] Re: how to check if previous tag is To: NULL Date: 1/19/2006 12:55:00 PM if you are processing only the "type" nodes and need to test the nodes two levels up , you can use the fllowing xpath: "../../../*[name() = 'doc']" hope this helps, swapna "Mystique" <misic@s...> wrote in message news:%23OYDqJ9DGHA.3468@T...... > how can i check if the tag that is two levels upper of the current onw is > <Doc> or something else > example > <main> > <doc> > <name>some name</name> > <type> > <id>the id</id> > </type> > </doc> > </main> > > how can i check from <type> ? > > Regards, > Mystique > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
