- From: Norman Walsh <ndw@nwalsh.com>
- Date: Sun, 07 Dec 2008 11:10:17 -0500
- To: XProc Dev <xproc-dev@w3.org>
- Message-ID: <m2ej0k55li.fsf@nwalsh.com>
"Dave Pawson" <dave.pawson@gmail.com> writes:
> <?xml version="1.0"?>
> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
> <p:input port="source" primary='true'>
> <p:document href="doc.xml"/>
> </p:input>
> <p:output port='result'>
> <p:document href="op.xml"/>
> </p:output>
> <p:identity/>
> </p:declare-step>
>
> I want to define a pipe with both input and output files specified by the pipe.
That's not what p:output is for. You want this:
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
<p:input port="source" primary='true'>
<p:document href="doc.xml"/>
</p:input>
<p:identity/>
<p:store href="op.xml"/>
</p:declare-step>
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Life is half delicious yogurt, half
http://nwalsh.com/ | crap, and your job is to keep the
| plastic spoon in the yogurt.--Scott
| Adams
Received on Sunday, 7 December 2008 16:11:03 UTC