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: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 27 Jun 2001 14:48:01 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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