Subject: RE: dynamically change xpath expression with params From: Kay Michael <Michael.Kay@xxxxxxx> Date: Thu, 2 Nov 2000 17:21:22 -0400 (EST) |
> Is this possible? > > I need to change both the values in an XPath Expression at > runtime. This is becoming a FAQ, the answer is: Not in standard XSLT: XPath expressions cannot be constructed from strings. There are three possible solutions: a) generate or modify the XSLT stylesheet immediately before executing it b) use the Saxon saxon:evaluate() extension function c) for a limited subset of cases, use constructs such as select="*[name()=$param]" Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: dynamically change xpath expres, Edwin Glaser | Thread | RE: Alternate bg colors for table a, Paul Essex |
RE: [newbie] in xslt-file, Kay Michael | Date | RE: XSL to handle display mutliple , Kay Michael |
Month |