You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/07/09 08:47:16 UTC

DO NOT REPLY [Bug 10579] New: - Problem in XSL Transformation

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10579>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10579

Problem in XSL Transformation

           Summary: Problem in XSL Transformation
           Product: XalanJ2
           Version: 2.0.0
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: org.apache.xalan.processor
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: naveen_jaidayal@satyam.com


I have one javascript function which I am calling in XSL template. For calling 
the function I need to pass the params to the function 
in single quotes ('param'). After the XSL Transformations with Xalan, When the 
HTML page is generated the quote is outputted as (&apos;) so I am getting a 
script error.

My XSL is written like this :
		
<form name="dateJump" method="post">
<xsl:attribute name="action">RequestDispatcher?ReqId=4</xsl:attribute>
<input type="text" name="CpitDate" size="8" readonly=""/>
<a>
<xsl:attribute name="href"> javascript:show_calendar('dateJump.CpitDate');
</xsl:attribute>
<img src="HTMLandImages/show-calendar.gif" width="24" height="22" border="0"/> 
</a> </form>

Please help me so that the single quote (') is outputted as ('). Shall I use 
entities. What is the entity for single quote('). If i use &#39; also for 
single quote(') that also in output shows as &apos;.

If i use the XSL Transformation with MSXML processor it works fine.