This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ampersand in data



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]