Ok. After a bit of reading about xPath, I have the following. But not sure if this would work as expected.
The xml: .... .... <pss:persons xmlns:pss="persons:datatype"> <rss:person xmlns:rss="person:datatype"> <name>jothi</name> <age>32</age> <gender>M</gender> </rss:person> </ns:persons> .... .... The xPath: /*/child:psst:persons/text() Would fetch me all the tags under pss:persons. Did I get this right? Regards, Jothi