RE: [xsl] about & ...

Subject: RE: [xsl] about & ...
From: "Martinez, Brian" <brian.martinez@xxxxxxxxxxx>
Date: Fri, 20 Jun 2003 08:28:19 -0600
> From: Fei Zheng [mailto:Fei.Zheng@xxxxxxx]
> Sent: Friday, June 20, 2003 8:18 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] about & ...
> 
> 
> "Food & Drink" is what I have in the xml file. I should have 
> made it clearer. 
> 
> item is a element which has a value of "Food & Drink" in the xml file.
> 
> It will never replace '&' into '' if I have -- 
> translate(item, 'amp;', '');

If you have a literal, unencoded '&' in your source document, then it is not
valid XML, and must be fixed before you apply your stylesheet.

hth,
b.

| brian martinez                           brian.martinez@xxxxxxxxxxx |
| lead gui programmer                                    303.357.3548 |
| cheap tickets, part of trip network                fax 303.357.3380 |
| 6560 greenwood plaza blvd., suite 400           englewood, co 80111 |
| cendant travel distribution services   http://www.cheaptickets.com/ |

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


Current Thread