cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: [c2] problem with actions
Date Wed, 18 Apr 2001 18:59:38 GMT
On Wed, 18 Apr 2001, Berin Loritsch wrote:

> > generaly nesting of actions is (as I understand it) something like
> > if-then-else clause, "if-then" -> go deeper, "else" go to next element at the
> > same level in the tree, am I wrong ??
>
> You've pretty much got the concept.

but it's not if/else - because the else branch is hit regardless, right?
that is to say

<map:match pattern="something">
 <map:act type="something">
  if branch
 </map:act>
 else branch>
</map:match>

if the something action return non-null, the if branch and the else branch
are hit, otherwise just the else branch is hit. right? to do a real
if/else branch, you have to use a selector, yes?

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message