This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: ampersand in data
- To: xsl-list at mulberrytech dot com
- Subject: Re: ampersand in data
- From: RSuiter at cccis dot com
- Date: Fri, 21 Jul 2000 16:52:47 -0500
- Reply-To: xsl-list at mulberrytech dot com
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 & and < respectively, before being put into the
xml.
Rick Suiter
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list