xslt processor add object

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



var ClientXSL=new ActiveXObject("MSXML2.FreeThreadedDOMDocument.4.0");
ClientXSL.async=false;
ClientXSL.load("Test.xsl");


var xslTemplate=new ActiveXObject("Msxml2.XSLTemplate.4.0");
xslTemplate.style***=ClientXSL;

var ClientXML=new ActiveXObject("MSXML2.DOMDocument.4.0");
ClientXML.loadXML("<R><I I='1'/></R>");

var CurrProcessor=xslTemplate.createProcessor;
CurrProcessor.input=ClientXML;

//


//loading another xml
var AnotherXML=new ActiveXObject("MSXML2.DOMDocument.4.0");
AnotherXML.load("Another.xml");

//filering xml and getting node collection
var FilterNodes=AnotherXML.selectNodes("I[@V>10]")


//setting node collection as an object to xslt processor
CurrProcessor.addObject(FilterNodes, "urn:MyNodes" );

//doing transform
CurrProcessor.transform()



my question is how to loop through these nodes, 'FilterNodes' , in xsl.

<xsl:style*** version="1.0" xmlns:Nodes="urn:MyNodes">
<xsl:for-each select="Nodes:"> ???????


thanks
praveen




.


Quantcast