This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: path quesion


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]