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: Using XSLT to search XML


> - 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

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