Re: ampersand in data

Subject: Re: ampersand in data
From: RSuiter@xxxxxxxxx
Date: Fri, 21 Jul 2000 16:52:47 -0500
John Gethoefer
As you heard,
<Name>Jack & Jill</Name>
is not valid xml, so you can't process it with xslt.

When I faced a similar situation, I found it easier to pre-process the data
so that any occurences of the two forbidden characters in xml (& and <)
were converted to &amp; and &lt; respectively, before being put into the
xml.

Rick Suiter


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


Current Thread