Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: MSXML Save Method Questions

From: mckkwan@-----------.---------.---
To: 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.


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