Hello everyone..
Does anyone know how to re-name an XML node in VB? I am using MSXML3 and I need to take in an XML document with several child nodes, make some changes, then re-name the documents first-level child nodes to send back to the requestor.
For example:
would be changed to:Code:<documentNode> <dChild1IN> <childData1>data</child1Data1> ...... </dchild1IN> <dchild2IN> <childData1>data</childData1> ...... </dchild2IN> </documentNode>
Note that these nodes that are being re-named may also be namespaced, and I need the namespaces to carry over as well.Code:<documentNode> <dChild1OUT> <childData1>data</child1Data1> ...... </dchild1OUT> <dchild2OUT> <childData1>data</childData1> ...... </dchild2OUT> </documentNode>
Thanks in advance....


Reply With Quote