This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How do I output an ampersand?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]