RE: sorting and parameters

Subject: RE: sorting and parameters
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 18 Jan 2000 10:11:04 -0000
> > In response to this problem and others of the same ilk, the next version
> > SAXON will contain an extension function evaluate() which takes as its
> > argument an XPath expression in the form of a string, and returns the
> > of evaluating that expression.
> Will this do generalized variable interpolation of (string) variables
> within a path?  select="$nodes/some/$variable/child"?
It won't do it, but it will enable it, e.g. (if this is what you meant):

<xsl:variable name="path" select="concat('$nodes/some/', $variable,
<xsl:variable name="path-result" select="sxf:evaluate($path)"/>


 XSL-List info and archive:

Current Thread