XmlAspect.org/Xml4jQuery/api/xmlTransform

From ApiFusion
Jump to: navigation, search
$(...).xmlTransform(xml,xsl);
$.xmlTransform( xml, xsl, to );

Paramteters

xml or xsl could be either one:

  • url to xml
  • xml document
  • xml dom node
  • jQuery object
  • xml4jQuery chain object

to defines where the rendering result will be placed to.

If omitted the original jQuery selector will define the elements list where the rendering results will be landed into.

return

xml4jQuery asynchronous chain object with Promise interface.

Promise resolved

The jQuery object with rendered content.

exceptions

propagated as Promise failure. Look at .$then( onOK, onERR ) for details.