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

Jim,

Thanks. Your example has already been incorporated into the document.

Murray Maloney
murray@muzmo.com
muzmo@me.com



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

> <?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>

Received on Thursday, 12 April 2012 14:58:51 UTC