Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: MSXML Save Method Questions

From: "Anthony Jones" <Ant@------------.--->
To: NULL
Date: 3/6/2006 1:07:00 PM
>The reason why I need to keep it as "& # x e 9" is that I
>have another application need this file as an Input, that application can
>only run correctly in "& # x e 9" form.

Is this other application loading this file into an XML DOM?
If not what is it using to parse the XML document?

I don't think there is a way to convince MSXML to escape characters that do
not need escaping.

You might try changing the document encoding to "windows-1252" instead of
the default UTF-8 :-

    oDOM.insertBefore oDOM.createProcessingInstruction("xml",
"version=""1.0"" encoding=""windows-1252"""), oDOM.documentElement

I suspect what your other application is objecting to is the UTF-8 encoding
for é which will be a multi-byte encoding.  Using windows-1252 will cause é
to be encoded as a single byte with the value of  E9.

Anthony.





transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent