MartinCopp
Programmer
I'm having a problem with inserting a cloned node into a document object. This is in a VB.net application.
The jist of the code is.
Dim mainXML as XMLNode
Dim tempXML as XMLNode
tempXML = mainXML.CloneNode
mainXML.ParentNode.InsertAfter(WhereWeWantToInsert, tempXML)
If I don't clone the node, it moves the node from its previous location to the new locale.
I tried importing the node, no dice.
Any suggestions?
The jist of the code is.
Dim mainXML as XMLNode
Dim tempXML as XMLNode
tempXML = mainXML.CloneNode
mainXML.ParentNode.InsertAfter(WhereWeWantToInsert, tempXML)
If I don't clone the node, it moves the node from its previous location to the new locale.
I tried importing the node, no dice.
Any suggestions?