Thanks FatMosh, but I don't have control over the source xml - it comes in from a data provider hence I can't simply make changes to the namespace declarations.
For those also stuggling with this problem, I have found a solution using the namespacemanager class - although not quite in the same...
I have the following xml:
<NLIS_MESSAGE xmlns="http://www.someurl.co.uk/NS/2001-01-10" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.someurl.co.uk/NS/2001-01-10 Acknowledgement.xsd">
<MESSAGE_ACKNOWLEDGEMENT>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.