RE: [xsl] XML Special Characters

Subject: RE: [xsl] XML Special Characters
From: "Williams, Brad" <Bawilliams@xxxxxxxxxxx>
Date: Mon, 16 Jul 2001 15:36:46 -0700
That's what I thought, but I wanted to check and make sure. We are building
triggers and need to pass this as & without building a post processor to
strip the amp; and leave the &. Thanks very much for your help.

Brad

-----Original Message-----
From: Clapham, Paul [mailto:pclapham@xxxxxxxxxxxxx]
Sent: Monday, July 16, 2001 3:34 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] XML Special Characters


No, you don't.  An '&' by itself in an XML file is an error; it must be
escaped as '&amp;'.  That is why you are seeing 'brad&amp;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@xxxxxxxxxxx]
Sent: July 16, 2001 15:17
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; xmledi-group@xxxxxxxx
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 &amp;. This means that my output is brad&amp;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@xxxxxxxxxxx
(619) 938-7146

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



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


Current Thread