This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ampersand in data


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]