This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: node-set
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] node-set
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 2 Jul 2001 10:41:45 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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