This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Passing Variables to XSL Templates
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Passing Variables to XSL Templates
- From: "Joshua Miller" <josh dot miller at eagletgi dot com>
- Date: Wed, 27 Jun 2001 10:25:32 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
Ok, so assuming I upgrade to XSLT ... then how would I do it? I've been
searching for hours for this information and can't find anything remotely
close to what I'm looking for. I know how to MATCH the value, what I need to
know is how do I get the value from another language (ie: CF,ASP,etc.) into
the XSL template???
Joshua Miller
Web Development::Programming
Eagle Technologies Group, Inc.
www.eagletgi.com
josh.miller@eagletgi.com
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Michael Kay
Sent: Wednesday, June 27, 2001 9:48 AM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] Passing Variables to XSL Templates
> Newbie question for the XSL masters - is there anyway that I
> can pass a
> variable into an XSL Template to populate a CASE statement?
Yes, templates can accept parameters.
>
> Want to do something like: <xsl:if match=".[NAME='$name']">
That looks like Microsoft WD-xsl syntax. Your first step is to upgrade to
XSLT.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list