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

Re: how to change xml ENCODING dynamicly

Subject: Re: how to change xml ENCODING dynamicly
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Wed, 27 Mar 2002 08:26:45 -0000
change xml
----- Original Message -----
From: "dragon" <dragon@xxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, March 27, 2002 7:01 AM
Subject:  how to change xml ENCODING dynamicly


>
> hello every body:
>
> 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:
>



to be pedantic

u can't change xml encoding dynamically in the sense that based on a
condition choose either/or encoding... ( ok there are some funky ways of
doing this if the transform is being handled via scripting, though its a
pipeline in any case )

more likely u want

to use <xsl:output/> statement, u can set the encoding attribute of output
there.


hth, jim fuller

> <?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!!
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>
>  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
  • [no subject]
    • Jean . Ossmann - Thu, 21 Mar 2002 05:20:18 -0500 (EST)
      • Oleg Tkachenko - Thu, 21 Mar 2002 05:55:45 -0500 (EST)
      • dragon - Fri, 22 Mar 2002 02:58:00 -0500 (EST)
        • dragon - Wed, 27 Mar 2002 01:46:41 -0500 (EST)
          • cutlass - Wed, 27 Mar 2002 03:28:59 -0500 (EST) <=
          • Michael Kay - Wed, 27 Mar 2002 04:16:45 -0500 (EST)
      • Mike Brown - Fri, 22 Mar 2002 03:23:09 -0500 (EST)

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.