W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > April 2012

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

From: Murray Maloney <muzmo@me.com>
Date: Fri, 13 Apr 2012 10:34:20 -0700
Cc: Murray Maloney <muzmo@me.com>
Message-id: <61C3E0E7-3312-46B4-B6C8-85D38A524A0B@me.com>
To: public-xml-processing-model-wg@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 13 April 2012 17:34:59 GMT