|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE: client-side ajax & xslt
- the user can then update the display any number of times with a minimum amount of network traffic (the browser cache will cache the data and the xslt).
var myXsl = new dojo.xml.XslTransform("path/to/your.xsl");
myXsl.transformToRegion(
xmlSourceDom,
paramsArray,
htmlElementObject,
htmlDocumentObject
);It works in IE, FF and Opera. The exception is Opera in that it does not supprt the document function (yet...). So if you don't need the document function, you should be fine in almost all browsers. But, a general strategy I use is to have a snmallish config XML for the main source of the transform and bring in larger/more XML files through the document function. This way you don't need to build a real DOM and can rely on the XSL processor's optimized DOM (usually a list of SAXish events).
best, -Rob
|
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








