tengkubasri
New Member
Consider this XML File structure\[code\]...<sometag attr="foobar"> <subtag> <subsubtag someattr="foo" /> <subsubtag someattr="bla" /> <subsubtag someattr="bar" /> </subtag></sometag>...\[/code\]currently i have this XPath Query: \[code\]/sometag/subtag/subsubtag[@someattr='foo']\[/code\] which gets me these subsubtags. Is it possible to get the \[code\]attr="foobar"\[/code\] from this query? so i want to have all \[code\]attr\[/code\] from \[code\]sometag\[/code\] where there is a \[code\]subsubtag\[/code\] with \[code\]someattr="foo"\[/code\].