I am using Xalan-C to evaluate an XPath expression for a given XML document.

Is it possilbe to write an XPath expression with variables and have Xalan-c evaluate the expression with supplied values for those variables.

For example, write the expression as:
foo/[EMAIL PROTECTED] and @last=${b}]

and supply the values 'John' and 'Jane' for the variable '${a}' and the values 'Doe' and 'Deer' for the variable '${b}'.

thanks,
Tahura Chaudhry




Reply via email to