tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McShane, Matthew" <Matthew.McSh...@tfn.com>
Subject RE: sending params to an xsl file using the xsl taglib
Date Thu, 26 Oct 2000 13:45:52 GMT
from the xalan api (http://xml.apache.org/xalan/apidocs/index.html), it
looks like the setStylesheetParam method would have to be used.

matt.

> -----Original Message-----
> From: Craig R. McClanahan [mailto:Craig.McClanahan@eng.sun.com]
> Sent: Wednesday, October 25, 2000 6:56 PM
> To: taglibs-user@jakarta.apache.org
> Subject: Re: sending params to an xsl file using the xsl taglib
> 
> 
> Currently, the apply tag considers the "xsl" argument to be a 
> pathname, and
> does not try to interpret it.  Parsing parameters out of the 
> attribute value
> would not be difficult, but how does one then send the 
> parameters on to the
> stylesheet?
> 
> Craig McClanahan
> 
> 
> "McShane, Matthew" wrote:
> 
> > Hello all,
> >
> > New to the list so I'm sorry if this has been covered (is 
> there anywhere on
> > the web where i can browse older discussions???)....
> >
> > My question is: Is it possible to send parameters to a 
> stylesheet using the
> > <apply> tag?  I have tried the following to no avail:
> >
> > <xsl:apply xml="test.xml" xsl="test.xsl -param x y" />
> > and
> > <xsl:apply xml="test.xml" xsl="test.xsl?x=y" />
> >
> > I'm using Tomcat 3.1, Xalan 1.2 and the nightly build of 
> jakarta-taglibs
> > from last night (Oct. 24, 2000)
> >
> > thanks in advance,
> > matt.
> 
> --
> ====================
> See you at ApacheCon Europe <http://www.apachecon.com>!
> Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
> Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
>                                     Applications to Tomcat
> 
> 

Mime
View raw message