Does the structure of the document match the structure of the document type? That’s the only reason I can think of off the top of my head that would explain this behavior.
Yes, the structure of the document match the structure of the document type. I post the string of the document before it convert to xmlNode, also, I attach a image of the document.
I think the ‘order2’ element is causing your problem. I believe IS is seeing that as the root node, which doesn’t match up to your document type. Everything underneath is being treated as undefined data. If you create a new document type based on your XML it will have the structure you need. HTH,
This post is pretty old however my query bests suits here.
I have a bit complicated structure.( in the attached document)
If you see the attachment the, we use documentType for converting xml to document. Now if the xml contains more than one times then the document does not create all the instances.
Could you have any clue if I am doing it properly…