This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How do I output an ampersand?
- To: xsl-list at mulberrytech dot com
- Subject: Re: How do I output an ampersand?
- From: Chris Maden <crism at exemplary dot net>
- Date: Sat, 18 Mar 2000 16:15:19 -0800 (PST)
- Reply-To: xsl-list at mulberrytech dot com
On Sat, 18 Mar 2000, David Carlisle wrote:
> (Either & or & are valid HTML, as in SGML a & is taken as literal
> character if it isn't followed by an entity name defined in the
> current dtd.
Not quite; the & is valid if it's not followed by any name character at
all. If it's followed by an unknown name, it's an error. In practice,
most HTML browsers will ignore references to undefined entitites, but then
you get into trouble when a new version of a browser recognizes more
entities.
-Chris
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list