You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by "Mark R. Diggory" <md...@latte.harvard.edu> on 2003/09/03 19:54:55 UTC
x:transform and body content
I'm trying to dynamically set the parameters on an x:transform based on
the params in the http request like below:
<c:import var="default" url="/Study/DataSubsettingView.xsl"/>
<x:transform xml="${dom}" xslt="${xslt}">
<c:forEach var="entry" items="${param}">
<c:if test="${entry.key ne 'var'}">
<x:param name="${entry.key}" value="${entry.value}"/>
</c:if>
</c:forEach>
</x:transform>
but I keep getting
27: Encountered illegal body of tag "x:transform" tag, given its attributes.
Is there any way to do this dynamically?
-Mark Diggory
Re: x:transform and body content
Posted by "Mark R. Diggory" <md...@latte.harvard.edu>.
Oh, to clarify my environment: Tomcat 4.1.24, JSTL 1.0.
Mark R. Diggory wrote:
> I'm trying to dynamically set the parameters on an x:transform based on
> the params in the http request like below:
>
> <c:import var="default" url="/Study/DataSubsettingView.xsl"/>
>
> <x:transform xml="${dom}" xslt="${xslt}">
> <c:forEach var="entry" items="${param}">
> <c:if test="${entry.key ne 'var'}">
> <x:param name="${entry.key}" value="${entry.value}"/>
> </c:if>
> </c:forEach>
> </x:transform>
>
> but I keep getting
>
> 27: Encountered illegal body of tag "x:transform" tag, given its
> attributes.
>
> Is there any way to do this dynamically?
>
> -Mark Diggory
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>