cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Ulrich Niedermann <niederm...@isd.uni-stuttgart.de>
Subject Re: xsl:if used to find if request parameter exists
Date Mon, 28 Aug 2000 20:08:53 GMT
Ricardo Rocha <ricardo@apache.org> writes:

> Hans Ulrich Niedermann wrote:

> > Steve Conover <sconover@groundswell.net> writes:
> > The test attribute takes a XPath expression. You can somehow define
> > your own functions in Java for use in XPath expressions but you don't
> > have to. Example for request param ?whatever=foobar:
> > 
> > <xsl:stylesheet xslns: ... >
> > 
> >   <xsl:param name="whatever"/>
> > 
> >   <xsl:template ..>
> >     <xsl:if test="@whatever">
> >       ...
> >     </xsl:if>
> >   </xsl:template>
> > 
> > </xsl:stylesheet>
> 
> Shouldn't this be <xsl:if test="$whatever">?

Of course. Sorry.

Uli

Mime
View raw message