Re: ampersand in data

Subject: Re: ampersand in data
From: Carlos Araya <elrond@xxxxxxxxxxxxxxxx>
Date: Fri, 21 Jul 2000 13:39:14 -0700 (PDT)
John:

	Try something like:

<Name>Jack &amp; 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@xxxxxxxx (prefered)		| Phone (408) 924 2859
Web	: http://valinor.sjsu.edu/~elrond/	| fax 	(408) 924 2439
	  http://www.silverwolf-net.net (under construction)

finger elrond@xxxxxxxxxxxxxxxx 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


Current Thread