> Is it possilbe to write an XPath expression with variables and have
Xalan-c
> evaluate the expression with supplied values for those variables.
It is possible, although it requires deeper hooks into the system than are
provided by the XPathEvaluator class. We could provide an enhancement
that allows for the binding of variables, but I don't know how long that
would take. Simple text, numeric, and boolean bindings would fairly easy,
but node sets would be a bit more difficult.
> For example, write the expression as:
> foo/[EMAIL PROTECTED] and @last=${b}]
This is not valid XPath syntax, so I don't know what you expect to happen.
Dave