Your problem is not specific enough to provide you with any help. Are you
writing the XML to a MemoryStream and then loading the XmlDocument or
something else?

Signature
This posting is provided "AS IS" with no warranties, and confers no rights.
> Hi all,
>
[quoted text clipped - 13 lines]
> Thanks in advance,
> Greg
Greg - 27 May 2004 08:16 GMT
Hi Dare,
Here is the full picture. I use a component written in C# that builds HTML
pages dynamically and then sends the contents together with some headers
bandled up in a XML document (text only) to an ISAPI via COM. When it
reaches the ISAPI I set the headers and contents of the Response object form
the XML document and send it to the browser.
That XML document is the one that gives me trouble. When I use the
XmlDocument class to create it it works fine. But, when I use the
XmlTextWriter pages in the browser appear to contain some weird caracters.
Thanks,
Greg.