I have a problem with the createTextNode method: special characters like '>', '<':
Dim xmlDoc As DOMDocument Dim codeXML as String Dim n As IXMLDOMNode codeXML = '<data>value</data>' Set n = xmlDoc.createTextNode(codeXML)
I need the result:
<main><data>value</data></main>
but i get
<main><data>value</data></main>
How can I solve this problem?
Thank you very much.
source share