This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can someone convert this function in MSXSL:script to Rhino 1.5 ??


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]