This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: ampersand in data
- To: xsl-list at mulberrytech dot com
- Subject: Re: ampersand in data
- From: John Gethoefer <johng at sportsmvp dot com>
- Date: Fri, 21 Jul 2000 15:51:19 -0700
- References: <3978A55B.CAFDAADD@sportsmvp.com>
- Reply-To: xsl-list at mulberrytech dot com
Having not found a solution using XSLT, and not wanting to do any
intensive processing of the XML doc, the best solution I found was...
when writing the XML doc:
<Name><![CDATA[Jack & Jill]]></Name>
I don't know if this is proper, but it worked fine.
Thanks to all for your input.
-John.
John Gethoefer wrote:
> 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list