What about a kind of recursion?

You have another, non-public, url within your
servlet space.  You call it (url-generator), 
it creates the url-generator to the cgi-bin routine, 
parses the results, stores the state in a session 
variable, then redirects to itself -- unless its work is done.
Storing the temporary results is probably the 
challenge.

(disclaimer - I slept at a Holiday Inn last night)

--Hank Ratzesberger
http://nees.ucsb.edu/


----- Original Message ----- 

> Matthew,
> 
> XPL has a p:for-each, but not a p:while, which has been an RFE for... a while 
> (but not on sf.net, I just added it there).
> 
> With p:for-each, you would have to know beforeheand how many iterations you 
> want to make, which is not your scenario.
> 
> I don't see a simple workaround without a p:while. Maybe somebody has a better 
> idea?
> 
> -Erik
> 
> Matthew J. Graham wrote:
> 
> > Hi,
> > 
> > A follow-on from this is that some services that I want to call in this 
> > way do not return all their XML records in one go but specify a 
> > resumption token in their output. The service then has to be called 
> > again with the resumption token and this needs to be repeated until all 
> > records have been returned, Is there any way to specify a while type 
> > construct in XPL?
> > 
> >     Cheers,
> > 
> >     Matthew
> > 
> > On Oct 28, 2004, at 3:35 PM, Erik Bruchez wrote:
> > 
> >> Matthew,
> >>
> >> You can use the URL generator for this purpose.
> >>
> >> -Erik
> >>
> >> Matthew J. Graham wrote:
> >>
> >>> Hi,
> >>> I need to call a cgi-bin service using the HTTP GET protocol and was 
> >>> wondering which processor I should use - the result back is an XML 
> >>> document.
> >>>     Cheers,
> >>>     Matthew
> >>



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to