in reply to
Re: LibXML, XPath and Namespaces
in thread LibXML, XPath and Namespaces
What I really wanted to achieve was for the system to assume the default namespace was 'gt' so I didn't have to include it in the prefix in all XPath expressions.
It's fine when it's just one level deep e.g. EnvelopeVersion, but when you want to pick up a number of nodes 3 or 4 levels deep and keep having to repeat that 'gt:' at every level its a PITA.
I did mod your reply up for the effort though :-)
A Monk aims to give answers to those who have none, and to learn from those who know more.