Give this a shot:

function ieTransform(doc, xslt, parameters) {
    try {
        var template = new ActiveXObject("MSXML2.XSLTemplate");
        template.stylesheet = xslt;
        var proc = template.createProcessor();
        proc.input = doc;
        if (parameters != null) {
            for (var i=0;i<parameters.length;i++) {
                var parm = parameters[i];
                proc.addParameter(parm.name,parm.value,"");
            }
        }
        proc.transform();
        return proc.output;
    } catch (ex) {throw ex;}
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to