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


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@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

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