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

Use Case 5.5 - Single-file Command-line Document Processing

From: Alex Milowski <alex@milowski.com>
Date: Wed, 6 Mar 2013 10:00:33 -0800
Message-ID: <CABp3FNJypFGLc+opFMwjW_GDLxEzU8wCS--_M2xZ0oXtJ5uFgw@mail.gmail.com>
To: XProc WG <public-xml-processing-model-wg@w3.org>
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
    xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">
   <p:input port="source"/>
      <p:input port="schema">
         <p:document href="docbook.rng"/>
      <p:input port="stylesheet">
         <p:document href="docbook2xhtml.xsl"/>
      <p:input port="parameters">
      <p:input port="schema">
         <p:document href="xhtml.rng"/>
   <p:store method="html">
      <p:with-option name="href" select="concat(base-uri(),'.html')"/>

--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language

Bertrand Russell in a footnote of Principles of Mathematics
Received on Wednesday, 6 March 2013 18:01:03 UTC

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