jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mart...@apache.org>
Subject Re: JSTL: Nesting <c:if> inside <x:transform>
Date Wed, 04 Dec 2002 19:40:22 GMT


On Tue, 3 Dec 2002, Andreas Schildbach wrote:

> hello,
>
> in my jsp, i'd like to do something like this:
>
> <x:transform xml="${xml}" xslt="${xsl}">
>    <c:if test="${condition}">
>         <x:param name="paramname" value="paramvalue"/>
>    </c:if>
> </x:transform>
>

The JSTL spec does not allow for that. The only tags allowed within the
body of the <x:transform> tag are <x:param> tags - not <c:if> or anything
else.

--
Martin Cooper


> intended semantics: depending on the condition, the xsl transformation is
> invoked with a parameter or no parameter.
>
> unfortunately, i constantly receive this error message:
>
> "Encountered illegal body of tag "x:transform" tag, given its attributes."
>
> my configuration is as follows:
> jdk 1.4.1
> tomcat 4.1.12
> jstl 1.02
>
> could anyone help me out?
>
> regards,
>
> andreas
>
>
> --
> To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message