[ANN] Kludgey workarounds for xt

Chris Maden crism at oreilly.com
Wed Sep 9 07:24:43 BST 1998


[Andrew Bunner]
>   Some of you may have already found that you can't include <,>,&,'
> or " in the element content of an XSL or XML document and expect it
> to make it to a generated HTML file without getting escaped to &lt;,
> etc.

The transformation part of XSL is intended to produce well-formed XML.

>   If anyone knows of a better (read: not-so-hacked-up) way to do
> this, I'd really like to hear about it.

There won't be one.  In XML, &quot; and " and equivalent.  This is
also true in HTML; if your browser doesn't accept x < 5 and x &lt; 5
as equivalent, then the browser is broken.  I appreciate that this is
not your fault and I sympathize, but if XSL attempts to include a
workaround for every existing HTML browser implementation, it will do
no one any good.  Please stop referring to this as an XSL hack-up
instead of a broken-browser workaround, and suggesting that XSL has
grossly overlooked something because of this problem.  Support for
pre-XML HTML was explicitly considered and rejected by the Working
Group.

-Chris, not speaking for the WG in any way
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list