[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

答复: how to change xml ENCODING dynamicly

Subject: 答复: how to change xml ENCODING dynamicly
From: "dragon" <dragon@xxxxxxxxxxxxxxxx>
Date: Wed, 27 Mar 2002 16:42:55 +0800
xml encoding
Yeah,I see.

Do u know How can I change the  default encoding?

You see,I need load a xml, then let users change It in client. 
at last the Source of XML will Submit to the Server.
And Will display next time.
So I must change It correctly.

before I find the correct function, I have to replace it in jsp. But I
feel so unwell.

-----邮件原件-----
发件人: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] 代表
Jarno.Elovirta@xxxxxxxxx
发送时间: 2002年3月27日 15:55
收件人: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
主题: RE:  how to change xml ENCODING dynamicly


Hi,

> I have a xml,just like:
> 
> <?xml version="1.0" encoding="gb2312"?>
> <root>
>  	<a>abc </a>
> 	<b>ddd</b>
> 	<c>cccc</c>
> </root>
> 
> and in the client,I use a xsl  and html to let users change the xml's 
> data. and then I need submit to a jsp file. but,when I saved, the xml 
> is lost something! It lost's  encoding info.... just like this:
> 
> <?xml version="1.0"?>
> <root>
>  	<a>abc </a>
> 	<b>ddd</b>
> 	<c>cccc</c>
> </root>
> what should I do before I submit it?
> Can anybody tell me? thank u a lot!! 

It hasn't "lost" it's encoding, but rather is using the default one,
UTF-8.

Santtu

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.