XmlAspect.org/Xml4jQuery/api/Xml

From ApiFusion
Jump to: navigation, search

.Xml

Fetches data and converts into XML to be available for following XPath or transformation. Makes the query call chain to asynchronous. The chain execution will continue only when the event is triggered.

$.Xml(url).xPath('//my-node')
$(...).Xml(url).$then( ( $el, xml )=>{...} )

Arguments

  1. url/* :string, URL to XML or JSON web service, variables in string $0, $1, ... filled from executed in the action chain results. */
    

Return

The promises chain shimmed the jQuery and Xml4jQuery methods.

Notes