:: Forum >>

XSL transformation to XML source

Hello everybody,

Could somebody, please, tell how to apply an XSLT file to my current xml data source? (in order to sort and filtert in a most effective way a large xml-based grid).

I would like to do this:

var strXML = obj.getProperty("_xml");
//or var strXML = obj.getXML(); *** I´m using Version 1.0.2

// create XML
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.loadXML(strXML);

// Load XSL
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("myxsl.xsl")

// Transform
strXML = xml.transformNode(xsl);
obj.setProperty("_xml", strXML);
//or obj.setXML(strXML);

Any suggestion?

Thanx
Raciel R.L.
Friday, February 17, 2006
Have you verified that your XML transforms and renders how you wish to load the grid?
Friday, February 17, 2006

This topic is archived.


Back to support forum

Forum search