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

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

From: James Fuller <jim@webcomposite.com>
Date: Thu, 12 Apr 2012 16:32:05 +0200
Message-ID: <CAEaz5msm_k_BPvAZ9gsMPxDeUR=WbHt_JwZpXN8g9Pcj0S186Q@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org
here is an example pipeline that satisfies this use case.

<?xml version="1.0" encoding="UTF-8"?>
    exclude-inline-prefixes="cx c p">
  <p:input port="source">
  <p:output port="result"/>
  <p:exec command="/bin/cat" result-is-xml="true"/>

will generate

<c:result xmlns:c="http://www.w3.org/ns/xproc-step"><test/></c:result>

Jim Fuller
Received on Thursday, 12 April 2012 14:32:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:50 UTC