(BYou are importing the stylesheet into a variable named "default" as String.
(BBut your x:transform tag does not refer to the variable "default" in which
(Bthe stylesheet resides. Instead your x:transform refers to an undeclared
(Bvariable called "xslt". Is this really what you want? I suppose you want
(B     <x:transform xml="${dom}" xslt="${default}">
(Brather than
(B     <x:transform xml="${dom}" xslt="${xslt}">
(B?
(B
(B
(B
(B
(B                                                                                       
(B                                                  
(B                    "Mark R. Diggory"                                                  
(B                                                  
(B                    <[EMAIL PROTECTED]        [EMAIL PROTECTED](B:   Tag Libraries 
(BUsers List <[EMAIL PROTECTED]>                         
(B                    rvard.edu>                cc:                                      
(B                                                  
(B                                              $B7oL>(B:   x:transform and body 
(Bcontent                                                       
(B                    2003/09/04 02:54                                                   
(B                                                  
(B                    "Tag Libraries                                                     
(B                                                  
(B                    Users List" $B$XJV?.(B                                           
(B                                                        
(B                    $B$7$F$/[EMAIL PROTECTED](B                                       
(B                                                                  
(B                                                                                       
(B                                                  
(B                                                                                       
(B                                                  
(B
(B
(B
(B
(BI'm trying to dynamically set the parameters on an x:transform based on
(Bthe params in the http request like below:
(B
(B<c:import var="default" url="/Study/DataSubsettingView.xsl"/>
(B
(B<x:transform xml="${dom}" xslt="${xslt}">
(B   <c:forEach var="entry" items="${param}">
(B      <c:if test="${entry.key ne 'var'}">
(B         <x:param name="${entry.key}" value="${entry.value}"/>
(B      </c:if>
(B   </c:forEach>
(B</x:transform>
(B
(Bbut I keep getting
(B
(B27: Encountered illegal body of tag "x:transform" tag, given its
(Battributes.
(B
(BIs there any way to do this dynamically?
(B
(B-Mark Diggory
(B
(B
(B---------------------------------------------------------------------
(BTo unsubscribe, e-mail: [EMAIL PROTECTED]
(BFor additional commands, e-mail: [EMAIL PROTECTED]
(B
(B
(B
(B
(B
(B
(B---------------------------------------------------------------------
(BTo unsubscribe, e-mail: [EMAIL PROTECTED]
(BFor additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to