Hi,
I’m having problems with XML namespace declarations being lost when using the xmlNodeToDocuemnt service.
The root tag of the xml look like this:
<deliverymessage>
After passing it to xmlStringToNode and xmlNodeToDocument the resulting document looks like this (see attached document)
Question 1: I expect the xmlns:xsi … attribute also to show up as an attribute in the document. Correct ?
I have tried to use the nsDecls parameter of the xmlNodeToDocument service without any difference in result…
The missing attribure results in the document not passing validation…
Any help is greatly appreciated.
Platform is 6.1 running on AIX 5.1.
Thanks
Tomm