You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Matthew Cordes <mc...@maine.edu> on 2001/01/25 17:07:30 UTC
Re: problem
Strange, this syntax is working fine for me with a
logicsheet included in such a way.
It seems logical that the mytaglib stuff should be evaluated first,
but execution should be based upon the if/else block.
-matt
On Thu, Jan 25, 2001 at 04:21:23PM +0000, Ulrich Mayring wrote:
> Hello,
>
> am I right in assuming that this doesn't work:
>
> <?xml-logicsheet href="mytaglib"?>
> <?cocoon-process type="xsp"?>
>
> <xsp:page ...>
>
> <xsp:logic>
> if (condition) {
> <mytaglib:do-something/>
> }
> else {
> <mytaglib:do-something-else/>
> }
> </xsp:logic>
>
> It seems the mytaglib calls are evaluated first, before xsp has a chance
> to evaluate the condition, right? Is there a way to do this with
> <?xml-logicsheet?> or do I have to go back to the "un-preferred" way of
> executing logicsheets?
>
> Ulrich
>
> --
> Ulrich Mayring
> DENIC eG, Systementwicklung
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>