Subject: RE: Special characters in xsl
From: JWolpert@xxxxxxxxxxx
Date: Mon, 24 Nov 2003 14:42:34 -0800
|
You can't write
<VALUE>-.&'()_!?*#%":+<>=?!></\@,~{}$[]^;</VALUE>
In xml unless you encode certain chars:
Replace ' by '
Replace & by &
Replace " by "
Replace < by <
-----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
|