Using TouchXML for XML having Custom XMLNS

Yes ! TouchXML would not be able to trigger XPath queries when XMLs have custom name-spaces. ( XMLNS – xml name-spaces )

sugartin xml parsing touchxml xmlns custom

Here is the sample XML which has custom name-space.

So, For parsing such data if you try to use XPath query, most of the time you will get empty node/nodes.

Here is the exact solution for that.

Hope it helps,

Cheers.

Leave a Reply

Your email address will not be published. Required fields are marked *



*