[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Force a query to pause each time through a for loop?

Michael Kay mike at saxonica.com
Mon Mar 31 06:18:34 PST 2008


  Force a query to pause each time through a for loop?
If there is a way of doing this, then it will be entirely
processor-dependent, so you should ask on the relevant list for the product
you are using. I would have thought you ought to be looking for ways to
change that timeout value (which will also be product-dependent).

Remember that for/FLWOR is not a loop, it is a mapping expression. There is
no guarantee that the items in the input will be processed one at a time, in
sequence. XQuery 1.0 is a declarative language.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: http://x-query.com/mailman/listinfo/talk 
> [mailto:http://x-query.com/mailman/listinfo/talk] On Behalf Of Mattio Valentino
> Sent: 30 March 2008 20:28
> To: http://x-query.com/mailman/listinfo/talk
> Subject:  Force a query to pause each time 
> through a for loop?
> 
> Is there a way I can make an XQuery statement wait ... 
> something like 10 seconds ... each time through a for loop?
> 
> I have a statement written to hit an admin system, extract a 
> value, and then do something with that value.  It's a 
> one-time query I'm running to set some values, so it's not as 
> if an end user will experience this type of performance.
> 
> I have a fair number of documents to work with and what I'm 
> trying to do is processor intensive, so my query keeps timing out.
> 
> Thanks for any help,
> Matt
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> http://x-query.com/mailman/listinfo/talk



Purchase Stylus Studio Online Today!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.