Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The GXslt class provides browser-agnostic methods to apply XSLT to XML. The methods will function correctly only in browsers that natively support XSL.
| Static Method | Returns | Description |
create(xsltDom) |
GXslt |
Creates a new GXslt instance from the DOM representation of an XSLT style sheet. |
transformToHtml |
Boolean |
Transforms the xmlNode DOM representation( of the XML document using the XSLT from the constructor. The resulting HTML DOM object will be appended to the htmlDom. In the event that the browser does not support XSL, this method will do nothing and return false. |