Thank you very much for the explanation and solution of my problem!
Michael

Vadim Gritsenko wrote:
>  ...
> And here is the solution:
> <xsp:expr> can not be used this way when it immediately netsted in <xsp:logic>,
> and this is done so to enable interoperability with other stylesheets. An example of
> correct usage would be something like:
> 
> <result>
>   <xsp:logic>
>     String result = "";
>     if(result.equals("")){
>       <i18n:date/>
>     }else{
>       result = <xsp-request:get-header name="user-agent"/>;
>     }else{
>       result = <xsp:expr>result</xsp:expr>;
>     }
>   </xsp:logic>
>   <xsp:expr>result</xsp:expr>
> </result>
> 
> Hope I described this clear enough,
> 
> Vadim
> ...

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to