This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Convert String to (node-set)
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Convert String to (node-set)
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Sat, 3 Feb 2001 18:43:51 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I am trying to parse two separate XML documents in one XSL
> stylesheet. This
> I can do!. My Q is, I am extracting the value of a node from
> XML doc. 1 and
> then I want to pass that as XPATH for parsing XML doc 2.
There is no standard way in XSLT of evaluating an XPath expression
constructed as a string or read from another document.
You can do it easily in Saxon using saxon:evaluate(), and in MSXML3 with
JavaScript extension functions using selectNodes().
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list