Xpath question

maybe one of the xml cracks can give me a quick advice…

i have the attached xml structure and i want to get all ID’s of the 'subthema’s of the first thema id=“53”.

the result should be a spread of 1,5,9,13,17,21,25,29,33,37,41,45,49

i struggle a bit with the xpath query, i only get all subthema id’s with this… /schwarm/thema/subthema/@id but i want only the ones of thema 53…mmm

thanx

xml.txt (6.7 kB)

solved… no text …

patch?.. no text …

i tried to put the xpath line into the post but the wiki doesnt like to show code…

anyway, here is the patch

xml_swarmfilter.v4p (13.8 kB)