Yes, that was a foolish re-edit I did before sending the email, in my code it is "default", Thanks.

Still, x:transform is picky about the contents of its body even when
<x:transform xml="${dom}" xslt="${default}"> are both defined. A more logical and powerful behavior would be to allow other jsp tags to be able to exist in the body no matter if its the "actual xsl content" or just parameters.


thanks,
-Mark

[EMAIL PROTECTED] wrote:

You are importing the stylesheet into a variable named "default" as String.
But your x:transform tag does not refer to the variable "default" in which
the stylesheet resides. Instead your x:transform refers to an undeclared
variable called "xslt". Is this really what you want? I suppose you want
     <x:transform xml="${dom}" xslt="${default}">
rather than
     <x:transform xml="${dom}" xslt="${xslt}">
?




"Mark R. Diggory" <[EMAIL PROTECTED] ??: Tag Libraries Users List <[EMAIL PROTECTED]> rvard.edu> cc: ??: x:transform and body content 2003/09/04 02:54 "Tag Libraries Users List" ??? ??????





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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to