This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Passing parameters
- To: <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Passing parameters
- From: "Peter McEvoy" <pmcevoy at iona dot com>
- Date: Tue, 13 Feb 2001 10:28:22 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
(I tried sending this a few days ago - but didn't see it appear on the digest - not sure why, this
is copied from my "sent" folder - apologies if you all received it...)
------------------->8 snip 8<-------------------------------
I've been using the Jakarta xsltaglib and have had little success passing parameters to a
stylesheet. My code is:
-----------------------------------------------------------
<xsl:apply xsl="/xml/static_numbers.xsl?office=Dublin">
<xsl:include page="/xml/static_numbers.xml"/>
</xsl:apply>
-----------------------------------------------------------
When I don't specify the office (and set a default param value in the stylesheet), everything works.
However when I try the above, or when I pass the param in the request for the jsp, it just gets
ignored or crashes the JSP.
Any ideas?
Anyone know of a different XSL taglib out there (free or otherwise) that would allow me to pass
params in?
------------------->8 snip 8<-------------------------------
C Ya,
Peter McEvoy
Senior Technical Analyst
IONA Technologies
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list