This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: using parameters in a select
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] using parameters in a select
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 24 Apr 2001 23:32:51 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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