RE: [xsl] Migration to Xalan 2.7.1

Subject: RE: [xsl] Migration to Xalan 2.7.1
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 7 Jul 2009 14:57:15 +0100
> <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>

I don't see how that can ever get through an XML parser. You can't have an
element (<xsl:value-of>) inside an attribute (onclick).
> 
> This code was working fine before migrating to Xalan 2.7.1. 

Are you sure it was that code?

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Current Thread