Try to set the method attribute in xsl:output element to "text":
<xsl:output method="text" ... />
tomi
-----Original Message-----
From: Arulraj [mailto:p_arulraj(_at_)yahoo(_dot_)com]
Sent: Tuesday, June 14, 2005 8:18 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] converting quot to " in XSLT
Hi,
I am using following XSLT for generating JSP output.
XSLT codes:
-----------
<xsl:attribute name="value">
<xsl:choose>
<xsl:when
test="($ParamJSP='true') and not(@jspvalue='')">
<xsl:text
disable-output-escaping="yes"><%=
jXPathHelper.getValOrObj(workFlowResult,"</xsl:text>
<xsl:value-of
select="@jspvalue"/>
<xsl:text
disable-output-escaping="yes">")
%></xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
select="./value"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
I am getting the following JSP string:
----------------------------------------
value="<%=
jXPathHelper.getValOrObj(workFlowResult,"format:floatValue(Abrechnu
ngsdaten/beitraegeSoll,
'FLOAT_ZWEI_NACHKOMMA')") %>"
Here i am getting " instead of ".
How to solve this? Any help.
Thanks in advance
Arul
__________________________________
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--