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.

Was it helpful?

Solution

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

<xsl:text disable-output-escaping="yes">&amp;</xsl:text>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top