Re: XProc V.next Requirements and Use Cases - 5.9 Run a Custom Program

Folks (especially Norm and Alex),

I just discovered http://exproc.org/proposed/

I see that a lot of writing work has been done to justify many of the proposed steps that are listed in the requirements WD.

My question is: Should I incorporate that material in the WD or simply point at it?

On 2012-04-12, at 7:32 AM, James Fuller wrote:

> here is an example pipeline that satisfies this use case.
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <p:declare-step
>    xmlns:c="http://www.w3.org/ns/xproc-step"
>    xmlns:p="http://www.w3.org/ns/xproc"
>    xmlns:cx="http://xmlcalabash.com/ns/extensions"
>    version="1.0"
>    exclude-inline-prefixes="cx c p">
>  <p:input port="source">
>    <p:inline><test/>
>    </p:inline>
>  </p:input>
>  <p:output port="result"/>
>  <p:exec command="/bin/cat" result-is-xml="true"/>
> </p:declare-step>
> 
> will generate
> 
> <c:result xmlns:c="http://www.w3.org/ns/xproc-step"><test/></c:result>
> 
> Jim Fuller
> 

Received on Friday, 13 April 2012 17:34:59 UTC