This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Using XSLT to search XML
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Using XSLT to search XML
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Wed, 25 Oct 2000 15:46:03 +0100
- Reply-To: xsl-list at mulberrytech dot com
> - 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