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

Re: Possible conditional construct for discussion

From: Alex Milowski <alex@milowski.org>
Date: Thu, 22 Jun 2006 08:49:54 -0700
Message-ID: <449ABC22.8010904@milowski.org>
To: public-xml-processing-model-wg@w3.org

Here's the example with flows and pipes:

    <input name="source"/>
    <output name="result" from="inc.result"/>

    <choose name="cond">
       <input ref="source"/>
       <output name="result"/>
       <when test="/*/@version = 1">
           <step name="ss" type="xslt">
             <with-input name="stylesheet"
             <with-input name="source" from="source"/>
             <with-param name="xslt-params" value="p='xyz'"/>

    <pipe name="inc">
       <input ref="cond.result"/>
       <output name="result"/>
       <step name="inc" type="xinclude">
          <with-input name="source" from="cond.result"/>

--Alex Milowski
Received on Thursday, 22 June 2006 15:56:55 UTC

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