XSL:VALUE-OF
mahati <[email protected]>
| Newsgroups | gmane.text.xml.xalan.java.user |
|---|---|
| Message-ID | <[email protected]> |
I have a template say, columnHeader which i am calling as below in a xsl: <xsl:call-template name="columnHeader"> <xsl:with-param name="value"><a id="frameLoader" href="javascript:void(0);" onclick="javascript:<xsl:value-of select="$gridName"/>.expandAllTreeRows(this);">+</a></xsl:with-param> </xsl:call-template> Inside the template apart from other stuff, i print the value using xsl:value as below: <xsl:value-of select="$value"/> This code was working fine before migrating to Xalan 2.7.1. But, once i moved to Xalan 2.7.1, text in the value variable is getting printed as normal text, it's not being treated as html and hence not being rendered as a href in the browser. Instead i get something like javascript:void(0); + as plaint text. Please suggest. -- View this message in context: http://www.nabble.com/XSL%3AVALUE-OF-tp24368424p24368424.html Sent from the Xalan - J - Users mailing list archive at Nabble.com.