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

RE: Special characters in xsl

Subject: RE: Special characters in xsl
From: JWolpert@xxxxxxxxxxx
Date: Mon, 24 Nov 2003 14:42:34 -0800
special characters in xsl
You can't write 

	<VALUE>-.&'()_!?*#%":+<>=?!></\@,~{}$[]^;</VALUE> 

In xml unless you encode certain chars:

Replace ' by &apos;
Replace & by &amp;
Replace " by &quot;
Replace < by &lt;


-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@xxxxxx] 
Sent: Monday, November 24, 2003 2:28 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Special characters in xsl


Archana Rao wrote:

> When i try to display the line below i get the
> following error.
> 
> <td valign="top" class="text" align="left"
> bgcolor="#ffffff">
>         <xsl:value-of select="VALUE" />
> </td>
> 
> ERROR,
> A name was started with an invalid character. Error
> processing resource, 
> <VALUE>-.&'()_!?*#%":+<>=?!></\@,~{}$[]^;</VALUE> 
> 
> How should i deal with this.

What do you mean by "when I try to display"? It displays fine in my mail 
reader, but somehow I feel that you're trying to do something else :-)

Regards,

Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760


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

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.