Hi,
        I want to use some kind of "IF-ELSE" into sitemap...

right now, I have this code ...

<map:match pattern="process-unveil">
<map:act type="unveil-it">
<map:generate type="serverpages" src="do_unveil.xsp">
<map:parameter name="unveil_result" value="{Count}"/>
<map:parameter name="use-request-parameters" value="true"/>
</map:generate>
<map:transform src="stylesheets/llbean-html.xsl">
<map:parameter name="use-request-parameters" value="true"/>
</map:transform>
</map:act>
<map:serialize/>
</map:match>


"unveil_result" is a number returned by my action, and I want to choose a
different XSP page if unveil_result is zero or if unveil_result equal one or
if unveil_result is bigger than one ...
I don't want to use java inside XSP pages ... so ... Is it possible to do in
sitemap ??


Thanks
Eduardo.


---------------------------------------------------------------------
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