I found a way to do that but only works on Windows.

var xmlDoc = new ActiveXObject("Microsoft.XMLDOM") ;
xmlDoc.load("GetHostStatistics.xml");
var xslDoc = new new ActiveXObject("Microsoft.XMLDOM") ;
xslDoc.load("stylesheet.xml");
var HTML = xmlDoc.Transform (xslDoc);

This will give you HTML which you can use later.

On Feb 11, 12:48 pm, "Benjamin [API Guru]" <[email protected]>
wrote:
> There is no built in way to do XSLT transformations on the fly. You
> are best off parsing the XML result yourself and then fill the
> elements on your view.
>
> Benjamin
>
> On Feb 10, 11:20 pm, GSA <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I'm making SOAP call to webservice from Google Gadget and results are
> > returned as XML. I'm trying to figure out how to best display results
> > on screen and wanted to create XSLT transform file and apply it to XML
> > but not sure if it's possible in first place and how to do that within
> > Google Gadget.
>
> > Thanks
> > G- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" 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-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to