cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: Pipeline conditional model
Date Tue, 30 May 2000 19:13:41 GMT
> To do this, one possible solution is to introduce boolean elements that
> operate on these matching components. For example,
> 
>  <process uri="...">
>   <AND>
>    <matcher type="A"/>
>    <matcher type="B"/>
>    <OR>
>     <marcher type="C"/>
>    </OR>
>   </AND>
>   ...(pipeline)...
>  </process>
> 
> which is the logical equivalent of (using Java syntax)
> 
>   ((A && B) || C)
> 
> and reminds of inverse polish notation.

(hopefully this hasn't been addressed already - i'm still paging through
my thousands of messages - y'all are some chatty people). I'm having
trouble reconciling the XML representation with the algebraic one. I would
write it like this:

<OR>
 <AND>
  <match type="A"/>
  <match type="B"/>
 </AND>
 <match type="C"/>
</OR>

- donald


Mime
View raw message