|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: JScript embedded in xsl
annirack@xxxxxxx wrote:
Hi, I realise that this isn't entirely an xslt problem, but I'm not entirely familiar with the JScript API for MSXML which is part of the problem. Hi, check out microsoft's site for examples, but: Create a processor object:
// might want to cache this
var templates = new ActiveXObject("Msxml2.XSLTemplate.4.0");
templates.stylesheet = XSLT_as_A_DOM_object_variable;
var processor = templates.createProcessor();
...
processor.input = XML_DOM_source_variable;
processor.addParameter(name, value);
processor.transform;
document.all.containerDiv.innerHTML = processor.output;best, -Rob Thanks, Brendan XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








