|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] flowrrr - how to structure a function?Robert Koberg rob at koberg.comTue Oct 17 08:27:07 PDT 2006
Peter wrote: > Rob, > > Without trying it, what you have written seems fine to me. You could inline > some things but it should, at least in theory, not make a difference > > One thing to be aware of is that you have no guarantee (again in theory) > that the order in which function calls are evaluated match the order in > which you write them. > > So theoretically an XQuery engine might choose to first evaluate > > session:set-attribute($project-key, > $group-name),response:redirect-to(xs:anyURI("./project/")) > > before it evaluates the other function calls in the deepest return. hmmm... if I understand correctly, that would [expletive deleted]. I suppose it would be implementation dependent (I am using eXist), but I would hope that it would be in order so a redirect would happen after the session variables are set - or do the redirect but still set the session variables ?? I will ask on the eXist list what can be expected. thanks, -Rob > > Hth, > > Peter
|
Purchase Stylus Studio Online Today!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






