RE: "Dynamic" XPath expressions

A personal response:

> I was looking for a way to do a mach against a dynamically
> constructed XPath expression...

> I could not find any way to do this kind of XPath expression.

You are right, there is no way to do this in standard XSLT 1.0.
>
> In the XSL 2.0 requirements, I saw the following:
>
> > 2.18 Could Make Coercions Symmetric By Allowing Scalar to Nodeset
> Conversion
>
I don't think this is related to your requirement.

Personally, I think your requirement is quite a common one and I'd like to
get it back on the agenda, though the pressure is now to get XSLT 2.0 out of
the door rather than adding more features.

In the meantime, take a look at saxon:evaluate() or xalan:evaluate().

Mike Kay

Received on Wednesday, 12 September 2001 12:10:24 UTC