[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] node-set
Subject: RE: [xsl] node-set
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 2 Jul 2001 10:41:45 +0100
|
> Im having problems selecting a nodeset with the node-set() in
> msxml3.
> <xsl:variable name="peerFullPath"
> select="concat($peerPath,'/',$quarterYear)" />
> <td><xsl:value-of select="msxsl:node-set($peerFullPath)/peer1" /></td>
The xx:node-set() function converts a result tree fragment to a node-set. It
doesn't take a string containing an XPath expression and evaluate that
expression. For that you need something like the saxon:evaluate() extension
function. You can simulate this in MSXML3 by calling selectNodes() within a
JScript extension.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|