Hi there,

I have the following JS partial code to dynamically change the @select attribute
of the XSL file to sort the table.

var xslStr = new ActiveXObject("Msxml2.DOMDocument.4.0");
xslStr.async = false

var theNode = xslStr.selectSingleNode("//xsl:sort");
theNode.nodeValue = "firstname";

My xsl file look like this:
<content sortcolumn="lastname" sortorder="ascending">


As I test run the code to try to change the node value, I receive an error
with message like:

"Reference to undeclared namespace prefix: xsl"

Does anyone knows how to fix this?