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: Carlos Araya <elrond at valinor dot sjsu dot edu>
- Date: Fri, 21 Jul 2000 13:39:14 -0700 (PDT)
- Reply-To: xsl-list at mulberrytech dot com
John:
Try something like:
<Name>Jack & Jill</Name>
That should work, you may want to also take a look at the entities
supported in XML.
Carlos
On Fri, 21 Jul 2000, 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
|
--
p |Carlos E. Araya
- |WebCT Project Coordinator - New Media Specialist
G |Alquist Center for Instrucctional Development
email : araya@sjsu.edu (prefered) | Phone (408) 924 2859
Web : http://valinor.sjsu.edu/~elrond/ | fax (408) 924 2439
http://www.silverwolf-net.net (under construction)
finger elrond@valinor.sjsu.edu for PGP key
--
LIFE: You can't control the length, but you can control the depth and
width. -- From Randal Schwartz picture archive
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list