This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Urgent !!! '&' being replaced by '&'
- To: XSL-List at mulberrytech dot com
- Subject: Urgent !!! '&' being replaced by '&'
- From: Mahesh Nanavate <mahesh dot nanavate at ecapsol dot com>
- Date: 6 Aug 2000 07:59:41 -0700
- Reply-To: xsl-list at mulberrytech dot com
Hi,
I am facing a problem.The "&" in the 'headline' element value of "'"
is being replaced by &.
So finally the title attribute is having a value of &apos; instead of
'.
The snippets of the stylesheet that I am using are given below:
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method = "xml" doctype-public = "-//WAPFORUM//DTD WML 1.1//EN" doctype-system = "http://www.wapforum.org/DTD/wml_1.1.xml" indent = "yes" />
----
----
----
<xsl:variable name="cardTitle" select="XML-MSG/SERVICE-INFO/OUTPUT/Result/headline" />
<card id="News" title="{$cardTitle}">
I want that ' remains as ' and not &apos;
Can anybody please help me solve this problem?
Any help is highly appreciated,
Thanks and regards,
Mahesh.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list