Re: An unfulfilled requirement maybe?

/ 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 UTC