Question:
I’m currently using Xml library and find it very useful. I’m have a quick question.
Is there a way to store a node and all its children to a string memory buffer in order to avoid the SaveXml to a temporary file?
Answer:
Yes, GetXml() returns the XML document in a string. GetXml can be called from any node in the XML document. It writes XML to a string that includes the node and all of it’s children/descendants.