setSuccess

setSuccess($callback as Function) →

Following a transform, a callback is made to this function

Arguments

 

$callback

Function

The callback function

Result

Details

The callback function has the signature success(proc) where proc is the instance of XSLT20Processor performing the transform.

If success is not set, then processing will be synchronous for calls to transformToDocument and transformToFragment. The updateHTMLDocument function can potentially always run asynchronously as it has no return values (it simply updates the target HTML document).