W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > August 2008

p:pipe convention

From: James Fuller <james.fuller.2007@gmail.com>
Date: Tue, 26 Aug 2008 21:27:47 +0200
Message-ID: <a0ad8ffe0808261227n1d4fc203h70d003bc2b5b0a0c@mail.gmail.com>
To: public-xml-processing-model-comments@w3.org

consider the following contrived example;

<?xml version="1.0" encoding="UTF-8"?>
                                        <p:pipeline
xmlns:p="http://www.w3.org/ns/xproc"
name="pipeline" xmlns:my="http://www.example.org/mine/ns">

   <p:declare-step name="this" type="my:test">
       <p:input port="source" sequence="true"/>
                                              <p:output port="result"
sequence="true"/>
       <p:identity name="indicator">
           <p:input port="source">
              <p:pipe step="this" port="source"/>
           </p:input>
       </p:identity>

   </p:declare-step>
   <my:test name="step1"/>
</p:pipeline>

could we not omit the step attribute on the p:pipe to default mean
'this' step e.g. the local step ?

J
Received on Tuesday, 26 August 2008 19:28:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 26 August 2008 19:28:27 GMT