W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > September 2007

Re: An unfulfilled requirement maybe?

From: Norman Walsh <ndw@nwalsh.com>
Date: Sun, 30 Sep 2007 13:58:39 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2wsu8vxv4.fsf@nwalsh.com>
/ Norman Walsh <ndw@nwalsh.com> was heard to say:
| Here's an example, btw:
|
| <p:pipeline name="main"
|             xmlns:p="http://www.w3.org/ns/xproc"
| 	    xmlns:px="http://xproc.org/ns/xproc/ex"
|             xmlns:c="http://www.w3.org/ns/xproc-step"
|             xmlns:err="http://www.w3.org/ns/xproc-error">
| <p:input port="source">
|   <p:inline>
|     <doc>
|       <p>para</p>
|     </doc>
|   </p:inline>
| </p:input>
| <p:output port="result"/>
|
| <px:exec name="exec" command="head" args="/Users/ndw/.bashrc">
|   <p:input port="stdin">
|     <p:pipe step="main" port="source"/>
|   </p:input>
| </px:exec>
|
| </p:pipeline>

On reflection, this is a slightly odd example. The serialized input
document is passed to 'head' but head ignores it. I had been using 'cat'
in some earlier testing :-)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Everything should be made as simple as
http://nwalsh.com/            | possible, but no simpler.

Received on Sunday, 30 September 2007 17:58:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:42 GMT