[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Using XSLT to search XML


Subject: RE: Using XSLT to search XML
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 25 Oct 2000 15:46:03 +0100

> - Users need to be able search on any one of about 4
> parameters (clubname, location, postcode, etc), any
> one of which can be null. However, at least one search
> parameter is required before a search is executed.
> 
> - Our current thinking (not reflected in the sample
> below) is to build an XSL variable that would contain
> the entire search string, and be used in the select
> query.

Standard XSLT doesn't allow you to construct XPath expressions as strings.
But you can do it in Saxon, using the saxon:evaluate() extension function.
This is definitely one of the "use cases" I had in mind when providing this
extension.

Mike Kay 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords