You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ce...@delta.it on 2000/11/06 16:50:09 UTC

fp:if-post

Can anyone send me a small working sample (.xml, .xsl) of the use of
"fp:if-post" or "fp:if-get"

as I cannot understand the samples in the Apache site.

TIA,
cesare



Re: fp:if-post

Posted by Ulrich Mayring <ul...@denic.de>.
cesare.raoss@delta.it wrote:
> 
> Can anyone send me a small working sample (.xml, .xsl) of the use of
> "fp:if-post" or "fp:if-get"
> 
> as I cannot understand the samples in the Apache site.

The code in between <fp:if-post> and </fp:if-post> is executed, when the
page has been loaded via a POST request. If the page has been loaded via
a GET method, then the code between <fp:if-get> and </fp:if-get> is
executed.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung