Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

class GXslt

The GXslt class provides browser-agnostic methods to apply XSLT to XML. The methods will function correctly only in browsers that natively support XSL.

GXslt Static Methods

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(xmlDom, htmlDom) 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.

  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial