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


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@sportsmvp.com>
>Reply-To: xsl-list@mulberrytech.com
>To: xsl-list@mulberrytech.com
>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

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