Copy XML string into a node
-
Hi, I am working on a C++ application using MSXML 4.0. I have a update function that need to update a node of the XML document. The function only receives a XML string that contains the new XML string corresponding to the node. How can I copy the XML string into the node? Thank you.
-
Hi, I am working on a C++ application using MSXML 4.0. I have a update function that need to update a node of the XML document. The function only receives a XML string that contains the new XML string corresponding to the node. How can I copy the XML string into the node? Thank you.
Sascha wrote: How can I copy the XML string into the node? I did it in my CP+ article.
Paul Watson
Bluegrass
Cape Town, South Africa -
Sascha wrote: How can I copy the XML string into the node? I did it in my CP+ article.
Paul Watson
Bluegrass
Cape Town, South Africa -
If I am not mistaking you are using the .NET Framework. I need to do the same whiteout the framework and use directly the MSXML.dll
Try using DocumentFragment .."The DocumentFragment object can represent a fragment of a document or portion of a document's tree. This makes it useful when implementing end user commands that allow users to rearrange a document, such as cutting and pasting.".. See details: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/xml_obj_ixmldomdocumentfragment_0zxw.asp[^] Best regards Anders Munk