W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2010

Re: Ask user input at runtime?

From: James Fuller <james.fuller.2007@gmail.com>
Date: Sat, 12 Jun 2010 18:09:06 +0200
Message-ID: <AANLkTikuUrDtJzzmDpHm605M6hAJzIwYLssKIT8rbOTN@mail.gmail.com>
To: Tony Rogers <tony@gonk.net>
Cc: XProc Dev <xproc-dev@w3.org>
On Sat, Jun 12, 2010 at 5:51 PM, Tony Rogers <tony@gonk.net> wrote:
> Is there any way to get XProc to ask for user input at runtime?  (text, pick from list, confirmation, whatever)

There is no specific step that stops the xproc processor processing
and wait for input (user or otherwise) but I don't see why you could
not use a p:exec
(http://www.w3.org/TR/2010/REC-xproc-20100511/#c.exec) step to call
something that does .... this scenario e.g. I am assuming you want to
take input during run time could also be modeled using any manner of
things (xml, options, etc) but you would still need an extension step
to wait for the input to arrive.

hth, James Fuller
Received on Saturday, 12 June 2010 16:09:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 12 June 2010 16:09:39 GMT