Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: how to get tagname of papent tag [Thread Next] Re: how to get tagname of papent tagTo: NULL Date: 1/3/2006 9:10:00 PM The followng XPath expression does this exact test for you: node.selectSingleNode("ancestor::document") "Mystique" <misic@s...> wrote in message news:eoX9JQ$DGHA.1384@T...... > Ok, then > let me rephrase my question: > is there any way to know if i have a parent tag with the name <document> > > Regards, > Mystique > > "Neil Smith [MVP Digital Media]" <neil@n...> wrote in message > news:30bjr19me02q5au2m2db80g2adng8ltpu4@4...... >> On Mon, 2 Jan 2006 21:01:35 +0100, "Mystique" <misic@s...> >> wrote: >> >> >how to get the tagname of papent tag? >> >> Dunno - does your XML document have such a tag ? In a repeating theme >> here, perhaps you'd be better posting your XML so somebody can help... >> >> Cheers - Neil > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
