This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XML Special Characters
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] XML Special Characters
- From: "Clapham, Paul" <pclapham at core-mark dot com>
- Date: Mon, 16 Jul 2001 15:33:31 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
No, you don't. An '&' by itself in an XML file is an error; it must be
escaped as '&'. That is why you are seeing 'brad&bill'. Is there
some reason why you think this is a problem, or are you just examining XML
with your eyeballs?
PC2
-----Original Message-----
From: Williams, Brad [mailto:Bawilliams@firstam.com]
Sent: July 16, 2001 15:17
To: xsl-list@lists.mulberrytech.com; xmledi-group@disa.org
Subject: [xsl] XML Special Characters
Hi,
I was wondering if anyone can help me with what should be a simple issue: I
need to output an '&' in my XML file, but have been only able to do this by
escaping it like &. This means that my output is brad&bill rather
than brad&bill. Can someone please help me get this result using a
validating parser?
Thanks,
Brad Williams
Sr. Programmer/Analyst
First American Credco
bawillliams@firstam.com
(619) 938-7146
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list