XSLProcessor asynchronous transformations
Could someone tell me please is it possible to transform XML documents asyncronously using XSLProcessor.transform() method.
I can assign XSLProcessor.output to DOM document, and set this DOM document's async property to true, and onreadystatechange to my callback function but transform() method anyway stops execution of my code till transformation has completed. Moreover any styles' properties I'd set on any element just before transformation don't have any effect until the transformation fulfilled. So I even cannot display some visual signs of beginning of the process (something like style.display = "block" on a <div /> element containing "Processing..." text). All dynamic changes of HTML DOM I had done before transform() call are frozen during the transformation. Is it possible to overcome it somehow?
Thanks.
|