Re: How do I output an ampersand?

Subject: Re: How do I output an ampersand?
From: Chris Maden <crism@xxxxxxxxxxxxx>
Date: Sat, 18 Mar 2000 16:15:19 -0800 (PST)
On Sat, 18 Mar 2000, David Carlisle wrote:
> (Either & or &amp; 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


Current Thread