OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [ANN] Kludgey workarounds for xt

[ Lists Home | Date Index | Thread Index ]
  • From: Chris Maden <crism@oreilly.com>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 9 Sep 1998 01:22:38 -0400 (EDT)

[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

-Chris, not speaking for the WG in any way
<!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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS