Re: [xsl] XML Special Characters

Subject: Re: [xsl] XML Special Characters
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 17 Jul 2001 09:29:53 +0100
> I was wondering if anyone can help me with what should be a simple issue: I
> need to output an '&' in my XML file,

If you succeed then the file isn't XML as you can't have an unquoted &
in XML, it always denotes the start of an entity or character reference.

> This means that my output is brad&amp;bill 

which is the correct XML encoding of the text brad&bill.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread