Re: [xsl] Passing Variables to XSL Templates

Subject: Re: [xsl] Passing Variables to XSL Templates
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Wed, 27 Jun 2001 12:52:02 +0100
use <xsl:param/> but it will depend on what is parsing the xml/xslt

if u are using M$ then go to and to get
the dope on how to do it.

other parsers usually will let you define params within the command line

using something like AxKit/Cocoon( and i think mod_xslt ) means you can
place it in the URL ( though if you are a newbie, i would not suggest this
route at the moment).

and maybe this will help also,
once you have got the param into your stylesheet.

good luck, jim fuller

----- Original Message -----
From: "Joshua Miller" <josh.miller@xxxxxxxxxxxx>
To: "Xsl-List@xxxxxxxxxxxxxxxxxxxxxx" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, June 27, 2001 12:47 PM
Subject: [xsl] Passing Variables to XSL Templates

> Greetings,
> Newbie question for the XSL masters - is there anyway that I can pass a
> variable into an XSL Template to populate a CASE statement?
> Want to do something like: <xsl:if match=".[NAME='$name']">
> But the variable will be coming from either ColdFusion, ASP, JAVA or
> somewhere else.
> Is this possible???
> Joshua Miller
> Web Development::Programming
> Eagle Technologies Group, Inc.
> josh.miller@xxxxxxxxxxxx
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread