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/5/2006 11:18:00 PM Thanks for your information. Below is the sample I used:
*** abc.xml ***
<?xml version="1.0" encoding="UTF-8" ?>
<letters>
<letter id="67152">
<MarketTitle>Bus&person - Café</MarketTitle>
</letter>
</letters>
*** VB Code ***
Dim xmltest As DOMDocument60
Set xmltest = New DOMDocument60
xmltest.Load "C:\abc.xml"
xmltest.save "C:\output.xml"
I found out that "& a m p ;" remain as "& a m p ;", however "& # x e 9"
converted to é. 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. So is there anyway I can save the
file without this conversion? Thanks.
"Umut Alev" wrote:
> More importantly, why do you want to preseve it as &e9; is the same as "é"?
>
> "mckkwan" wrote:
>
> > I mean it will convert from "& # x e 9 ;" to "é", which I do not want to.
> > Thanks.
> >
> > "mckkwan" wrote:
> >
> > > I use MSXML 4.0 to load xml and use SAVE method to save the output. In my
> > > original xml file, I have something like "é" which suppose to display as "é".
> > > If I use SAVE method, it will automatically convert "é" to "é". I want to
> > > know is there anyway I can save the xml file without any conversion? Thanks.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
