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, " and " and equivalent. This is
also true in HTML; if your browser doesn't accept x < 5 and x < 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>