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 :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: No bonus points for you :-)
by tobyink (Canon) on Mar 22, 2013 at 16:46 UTC | |
by space_monk (Chaplain) on Mar 25, 2013 at 10:07 UTC | |
|
Re: No bonus points for you :-)
by ikegami (Patriarch) on Mar 24, 2013 at 07:12 UTC | |
by space_monk (Chaplain) on Mar 25, 2013 at 10:02 UTC | |
by ikegami (Patriarch) on Apr 08, 2013 at 03:30 UTC |