This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

using parameters in a select


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]