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

RE: XSLT default output encoding when method==html?

Subject: RE: XSLT default output encoding when method==html?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 21 Jul 2006 21:44:15 +0100
xslt default
Most XSLT processors allow you to bypass the final stage of serialization,
namely translation of characters into bytes, if you supply a
character-oriented output destination: for example, in Java, a StreamResult
that wraps a StringWriter. You then end up with a sequence of abstract
characters (in Java they will actually be in UTF-16, but you aren't supposed
to care).

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

> -----Original Message-----
> From: James A. Robinson [mailto:jim.robinson@xxxxxxxxxxxx] 
> Sent: 21 July 2006 20:19
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  XSLT default output encoding when method==html?
> 
> 
> I'm writing some code which needs to read the result of an 
> XSLT transformation into a string.  The XSLT specification 
> clearly states what a processor is supposed to do if the 
> output method is xml, xhtml, or text, but no output encoding 
> is specified, which is great.
> 
> I'm unable to figure out if it says somewhere what occurs if 
> html is the output method and no encoding is specified.  
> Anyone able to point me at the right information?  Or does 
> this end up being 'processor specific' ?
> 
> 
> Jim
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> James A. Robinson                       jim.robinson@xxxxxxxxxxxx
> Stanford University HighWire Press      http://highwire.stanford.edu/
> +1 650 7237294 (Work)                   +1 650 7259335 (Fax)

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.