|
[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 09:09:28 PDT 2006
Robert Koberg wrote: > Peter wrote: >> 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. FYI. I asked on the eXist list and Wolfgang Meier responded with: "No. The functions will be evaluated in the same order as they are added to the sequence. No problem here." best, -Rob
|
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
|






