I am trying to manipulate a XML DOM document using the DomDocument40 object that comes with MSXML 4.0
Right now I am able to read information of the nodes and attributes using the IXMLDOMELEMENT object. However when I try to write to the attribute using '.setattribute' it seems like the format is lost.
I was wondering if the it has anyhting to do with the documents encoding in unicode or something like that. How do I find out if the document is not encoded in ASCII and how do I write strings using different encoding formats.
e.g. the following text is an attribute node's value
ª+1 Post Point Events
ª+2 Event Event: Paycalculate
@@
The above piece of text when written into the XML document turns up as following
ª+1 Post Point Events ª+2 Event Event: Paycalculate ª+3 Get GridP @@
The vbNewline or vbCrlf is written as
Any help is welcome.
Right now I am able to read information of the nodes and attributes using the IXMLDOMELEMENT object. However when I try to write to the attribute using '.setattribute' it seems like the format is lost.
I was wondering if the it has anyhting to do with the documents encoding in unicode or something like that. How do I find out if the document is not encoded in ASCII and how do I write strings using different encoding formats.
e.g. the following text is an attribute node's value
ª+1 Post Point Events
ª+2 Event Event: Paycalculate
@@
The above piece of text when written into the XML document turns up as following
ª+1 Post Point Events ª+2 Event Event: Paycalculate ª+3 Get GridP @@
The vbNewline or vbCrlf is written as
Any help is welcome.