Re: ampersand in data

Subject: Re: ampersand in data
From: John Gethoefer <johng@xxxxxxxxxxxxx>
Date: Fri, 21 Jul 2000 15:51:19 -0700
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


Current Thread