Question

I have an xsl document with javascript int it in which i append url parameters to the string.

 window.parent.parent.addTab('Loading...', 'PGS/ContentView.aspx?dpath=' + dpath + '&hashValue=' + hashValue);

The xsl using visual studio gives me an error stating entity 'hashvalue' not defined, its a valid parameter being passed to the function.

Était-ce utile?

La solution

Try to use & and wrap it in the xsl:text:

<xsl:text disable-output-escaping="yes">&amp;</xsl:text>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top