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

RE: converting quot to " in XSLT

Subject: RE: converting quot to " in XSLT
From: <tomas.vanek@xxxxxxxxxxxxx>
Date: Tue, 14 Jun 2005 10:36:44 +0200
xslt quot
Try to set the method attribute in xsl:output element to "text":
 <xsl:output method="text" ... />
tomi

-----Original Message-----
From: Arulraj [mailto:p_arulraj@xxxxxxxxx]
Sent: Tuesday, June 14, 2005 8:18 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  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">&lt;%=
jXPathHelper.getValOrObj(workFlowResult,"</xsl:text>
						<xsl:value-of
select="@jspvalue"/>
					<xsl:text
disable-output-escaping="yes">")
%&gt;</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,&quot;format:floatValue(Abrechnu
ngsdaten/beitraegeSoll,
'FLOAT_ZWEI_NACHKOMMA')&quot;) %>"

Here i am getting &quot; 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/



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.

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.