This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL, XT, and ruined well-formed HTML
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: XSL, XT, and ruined well-formed HTML
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 16 Mar 2000 11:45:35 -0000
- Reply-To: xsl-list at mulberrytech dot com
> 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  '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 or é, you will always get
either actual iso-8859-1 characters, or numeric character references. It
uses entity references such as 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