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

RE: Preseving character entities

Subject: RE: Preseving character entities
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 25 Nov 2004 14:45:21 -0000
all about declaration
But if he asks for UTF-8, then he will get non-ASCII characters encoded in
UTF-8, not represented as character references.

Time to ask the original poster: why? What are you trying to achieve?

Michael Kay
http://www.saxonica.com/


> -----Original Message-----
> From: David Carlisle [mailto:davidc@xxxxxxxxx] 
> Sent: 25 November 2004 13:56
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Preseving character entities
> 
> 
>   One more thing, now my resultant documents all have 
> encoding="us-ascii"
>   in their XML declarations. Can I make them UTF-8?
>  
> you can't make them explictly utf8 but you can make them have no xml
> encoding declaration at all, by specifying that you don't want an xml
> declaration on your xsl:output...
> 
> except that currently saxon mplements the last draft which 
> said that if
> you specify an encoding and then specify you don't want the
> xml-declaration that you get the declaration anyway (as in XSLT 1)
> 
> the new draft (following at least in part from a public comment from
> me) says that xslt should do what you ask and not give you an xml
> declaration in this case.
> 
> Any XML parser would then be required to correctly default this to
> utf-8.
> 
> David
> 
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________
> __________

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.