This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Can someone convert this function in MSXSL:script to Rhino 1.5 ??
- From: "Martijn" <rootroot at xs4all dot nl>
- To: <XSL-List at lists dot mulberrytech dot com>
- Date: Thu, 20 Dec 2001 21:14:55 -0800
- Subject: [xsl] Can someone convert this function in MSXSL:script to Rhino 1.5 ??
- Reply-to: xsl-list at lists dot mulberrytech dot com
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