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

RE: XSL, XT, and ruined well-formed HTML

Subject: RE: XSL, XT, and ruined well-formed HTML
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 16 Mar 2000 11:45:35 -0000
saxon well formed
> As for what you're saying as far as Saxon goes... I would 
> assume that that
> would have the same problems that I'm complaining about 
> (whether or not I
> want it to behave as the spec recommends :-).  Unless of 
> course, Saxon would
> support the iso-8859-1 (or whatever) spec that I have read 
> seems to preserve
> the &nbsp's as I want them preserved.

Saxon makes its own set of choices about how to represent the output, it
conforms to the spec but the spec leaves a lot of things for implementors to
decide. I suspect the output you are looking for is reasonably close to what
Saxon will give you if you specify <xsl:output method="xml"
encoding="iso-8859-1"/>. However, XML output from Saxon will never contain
symbolic entity references such as &nbsp; or &eacute;, you will always get
either actual iso-8859-1 characters, or numeric character references. It
uses entity references such as &nbsp; in HTML output, but its HTML output
will not be well-formed XML.

Mike Kay


 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.