Re: ampersand in data

Subject: Re: ampersand in data
From: "Mallikarjuna Sangappa" <malliks@xxxxxxxxxxx>
Date: Fri, 21 Jul 2000 20:52:16 GMT
The XML fragment is wrong. & has to escaped.

<Name>Jack &amp; Jill</Name> is correct. Let me know if u have any questions. Thanks.

Mallik


From: John Gethoefer <johng@xxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: ampersand in data
Date: Fri, 21 Jul 2000 12:33:00 -0700

I am trying to transform XML data such as follows:

<Name>Jack & Jill</Name>

however when I use <xsl:value-of "Name"/> it breaks.

Is there a way to transform data that includes "&" using XSLT?

Thanks in advance.

-John


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

________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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



Current Thread