Subject: RE: path quesion
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 30 Jun 2000 10:19:44 +0100
|
> I am processing 2 XML files within a single xsl file. From one file
> I retreive a path value e.g. 'customer/age', from an element
> , this value
> is placed in a variable. I then want to look for the 'customer/age'
> element in the 2nd xml file,
There is no way in standard XSLT of constructing an XPath expression from a
string (other than by writing a stylesheet to generate another stylesheet).
You can do it in Saxon using the saxon:evaluate() extension function.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|