Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Professional Ajax ISBN: 978-0-471-77778-6
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 5th, 2006, 04:09 AM
Vx Vx is offline
Registered User
Join Date: Mar 2006
Location: , , .
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?


Reply With Quote
  #2 (permalink)  
Old September 5th, 2006, 12:41 PM
nzakas's Avatar
Wrox Author
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts

I believe that all transformations are done synchronously.

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 07:35 PM.

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