If i load following input XML into a MSXML2 DOM document and then try to save the <Root Node>.text into a file then it's replacing normal NewLine characters with some special unicode charatcer(newline).If the file is opened in notepad this character is shown as rectangular box.
Can somebody suggest on how to replace/omit this special unicode character in output?
Input XML(Filename : NewLine.xml)
------------------------------
<root>
1,2,3
5,6,7
</root>
VB Code to Save to a file
-------------------------
Private Sub Command1_Click()
On Error Resume Next
Dim xmlDom As New MSXML2.DOMDocument30
xmlDom.Load "C:\NewLine.xml"
Open "C:\NewLine.txt" For Output As 1
Print #1, , xmlDom.childNodes(0).Text
'Print #1, , xmlDom.childNodes(0).nodeTypedValue
Close #1
MsgBox "File Generated"
End Sub