Subject: Can someone convert this function in MSXSL:script to Rhino 1.5 ??
From: "Martijn" <rootroot@xxxxxxxxx>
Date: Thu, 20 Dec 2001 21:14:55 -0800
|
This allows for a nodeset put into a variable to be applied a XPath upon.
Thanks!!!
<msxsl:script implements-prefix="nodeselection" language="jscript">
<![CDATA[
function selectNodes(nsetCtxt, strExpr)
{
// Evaluating strExpr must result in a node-set (unfortunately there is
currently no evalExpr method on the MSDOM)
return nsetCtxt.nextNode().selectNodes(strExpr);
}
]]>
</msxsl:script>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|