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 <murray@muzmo.com>
Date: Thu, 12 Apr 2012 07:58:25 -0700
Cc: Murray Maloney <murray@muzmo.com>, public-xml-processing-model-wg@w3.org
Message-Id: <CC1A52FE-1CB5-407F-B386-E09A4ACE5186@muzmo.com>
To: James Fuller <jim@webcomposite.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 12 April 2012 14:58:51 GMT