Commit 922987e2 authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Added description of a new built-in Dispatcher (with test).

parent 1ff8fd5e
......@@ -34,7 +34,15 @@ different outputs. It is used in the bibliography example for dispatching the in
</p>
<center><p><img src="images/DispatchBasic.jpg" alt="DispatchBasic"/>
<br>Figure: Basic dispatcher</br></p></center>
<p>Transmorpher provides an other implementation of a dispatcher (<tt>TestingDispatcher</tt>), its behavior
is to send the input to the first ouput if test==value, to the other if test is test!=value:
<listing>
&lt;dispatch type="if" id="ifdispatch" in="IN" out="then else"&gt;
&lt;with-param name="test"&gt;a&lt;with-param&gt;
&lt;with-param name="value"&gt;b&lt;with-param&gt;
&lt;/dispatch&gt;
</listing>
<p>References to contributed extensions can be found <a href="contrib.html#dispatcher">here</a></p>
<h2>Manipulation API</h2>
......@@ -123,7 +131,7 @@ TO BE COMPLETED, THIS IS MORE COMPLICATED.</p>
<SMALL>
<ADDRESS>Feel free to comment to
<a href="mailto:transmorpher-dev@fluxmedia.fr">transmorpher-dev@fluxmedia.fr</a>,
$Id: dispatch.html,v 1.4 2002-10-16 09:33:04 jerome Exp $
$Id: dispatch.html,v 1.5 2002-10-16 14:45:44 triolet Exp $
</ADDRESS>
</SMALL>
</body>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment