Wrox Programmer Forums
|
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 5th, 2006, 04:09 AM
Vx Vx is offline
Registered User
 
Join Date: Mar 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

 
Old September 5th, 2006, 12:41 PM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

I believe that all transformations are done synchronously.

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Asynchronous Transactions jroxit Other Programming Languages 0 July 29th, 2008 11:12 AM
sequential transformations alexan XSLT 0 July 24th, 2008 11:59 PM
Asynchronous call tapan General .NET 1 April 27th, 2007 08:12 AM
DTS transformations Amorous SQL Server DTS 0 January 18th, 2006 04:54 PM
XSL Transformations scottrudy VB.NET 0 July 4th, 2003 11:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.