Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - RE: MSXML Save Method Questions >Thread Next - Re: MSXML Save Method Questions Re: MSXML Save Method QuestionsTo: 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.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
