- From: Norman Walsh <ndw@nwalsh.com>
- Date: Sat, 09 Feb 2013 17:13:03 +0100
- To: XProc Dev <xproc-dev@w3.org>
Received on Saturday, 9 February 2013 16:13:33 UTC
Romain Deltour <rdeltour@gmail.com> writes:
[...]
> Would be easier done with:
>
> <?xml version="1.0"?>
> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="main" version="1.0">
> <p:input port="source" sequence="true"/>
> <p:choose>
> <p:when test="empty(p:read-port('some-step', 'result'))">
> ...
> </p:when>
> <p:otherwise>
> ...
> </p:otherwise>
> </p:choose>
> </p:declare-step>
Yeah, that use case is pretty compelling.
Be seeing you,
norm
--
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com
Received on Saturday, 9 February 2013 16:13:33 UTC