Subject: using parameters in a select
From: lwong@xxxxxxxxxxx
Date: Tue, 24 Apr 2001 12:49:18 -0600
|
I would use a parameter to pass in the XPath to my select statement.
For example,
<xsl:param name="servicePlanNames" select="'default value'"/>
<xsl:apply-templates select="ServicePlan[$servicePlanNames]" />
This is not working. Can I use parameters in the apply-templates select
statement? If not, is a different way I can pass in XPath to a select
statement? Or an xsl:if statement?
Thanks in advance,
Leah
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|