xsl-list
[Top] [All Lists]

Re: about & ...

2003-06-20 07:33:22

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 & 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



<Prev in Thread] Current Thread [Next in Thread>