[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xslt replace special characters

Subject: RE: xslt replace special characters
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Mon, 11 Nov 2002 15:14:05 -0500
michael brown passin hidden
[Alice Fan]

> I was looking into the '&' problem somemore.  What if I used 
> CDATA in my XML 
> file so when its trying to parse it will ignore those special 
> characters.  I 
> think this might work.  Any ideas on this possible solution?

Just as long as you do not put the PCDATA into an attribute - you cannot
put a CDATA section there.  You can, of course, put it into the content
of an element.  I say this because a  common way to send xml back to a
server is to put it into a hidden input element, and in that case it has
to go as the value of the "value" attribute of the hidden field.

Why not just use Javascript to escape the "&" characters?


Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.