RE: [xsl] using parameters in a select

Subject: RE: [xsl] using parameters in a select
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 24 Apr 2001 23:32:51 +0100
> I would use a parameter to pass in the XPath to my select statement.

An XSLT variable or parameter can hold a string, a number, a boolean, or a
node-set. It cannot hold an XPath expression.

However, some products (e.g. Xalan and Saxon) allow you to construct an
expression from the value of a string using the xx:evaluate() extension
function.

Mike Kay
Software AG


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread