C
Christina Androne
Hello
I am using the dataset.WriteXml method to convert a dataset's content to
an XML string which will be parsed later on. I initally used WriteXml
with a stream parameter, then got the string representing the XML from
it. The problem was that special characters, such as currency symbols,
are not escaped in the final string. So of course later on trying to XML
parse that string fails.
I also used an XmlTextWriter as the WriteXml parameter, then obtained
the XML string from xmlTextWriter.BaseStream. Special chars are still
not escaped.
Can anybody put me on the right track with this?
Thank you,
Christina Androne
I am using the dataset.WriteXml method to convert a dataset's content to
an XML string which will be parsed later on. I initally used WriteXml
with a stream parameter, then got the string representing the XML from
it. The problem was that special characters, such as currency symbols,
are not escaped in the final string. So of course later on trying to XML
parse that string fails.
I also used an XmlTextWriter as the WriteXml parameter, then obtained
the XML string from xmlTextWriter.BaseStream. Special chars are still
not escaped.
Can anybody put me on the right track with this?
Thank you,
Christina Androne