|
Subject: [xsl] RE:22523 From: "daniel g" <dgale_@xxxxxxxxxxx> Date: Fri, 11 Nov 2005 19:47:25 -0500 |
//IE scripting
function Load_IE(){
xmlDoc = new ActiveXObject( "MSXML2.DOMDocument.3.0" );
xslDoc = new ActiveXObject( "MSXML2.FreeThreadedDOMDocument.3.0" );
var xslTemplate = new ActiveXObject( "MSXML2.XSLTemplate.3.0" );//Load in the raw XML data: xmlDoc.async = "false"; xmlDoc.load( 'pass.xml' );
//Load in the XSLT transform script: xslDoc.async = "false"; xslDoc.load( 'pass.xsl' );
xslTemplate.stylesheet = xslDoc; xslProcessor = xslTemplate.createProcessor( ); xslProcessor.input = xmlDoc;
//Overwrite the xsl:params with runtime selected values: xslProcessor.addParameter( "letter", g_letter );
//Output the XML (as processed by the XSLT) to the div target xslProcessor.transform(); putTablesHere.innerHTML = xslProcessor.output; }
//Mozilla scripting
function Load_Mozilla(){ //Load in the raw XML data:
xmlDoc = document.implementation.createDocument("", "", null);
xmlDoc.load( 'pass.xml' );
xmlDoc.onload = readXML;
} xslDoc = document.implementation.createDocument("", "test", null);
xslProcessor = new XSLTProcessor(); //Load in the XSLT transform script:
xslDoc.addEventListener("load", xslLoad, false);
xslDoc.load( 'pass.xsl' );
}function xslLoad(){
xslProcessor.importStylesheet( xslDoc );//Overwrite the xsl:params with runtime selected values: xslProcessor.setParameter( "", "letter", g_letter );
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Text to come after a bloc, Haarman, Michael | Thread | [xsl] triggering xslt-functions fro, Manuel Baehnisch |
| Re: [xsl] Processing rowsets of mul, David Carlisle | Date | [xsl] triggering xslt-functions fro, Manuel Baehnisch |
| Month |