Re: [xsl] about & ...

Subject: Re: [xsl] about & ...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 20 Jun 2003 15:33:22 +0100
> It will never replace '&' into '' if I have -- translate(item, 'amp;', ''); 

yes it will (did you try)

> "Food & Drink" is what I have in the xml file. 
If you just have that your XML file will have a fatal parse error from
any XML parser so won't be usable by XSLT (or anything else)
your XML file must have that & escaped either by
Food &amp; Drink
or equivalet methods such as <![CDATA[Food & Drink]]>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread