Hi, Philip.
"Philip Dodds" <[EMAIL PROTECTED]> wrote on 2005-04-25
03:19:35 PM:
> Is there a way to set up the VariableStack to add a variable
> programmatically based on the result of an XPath? In other words
> creating an XObject and then giving it a QName and placing it on the
> stack so I can re-use this on the XPathAPI?
The XPath API of JAXP 1.3 includes an XPathVariableResolver interface
that allows one to supply the value of a variable for XPath expression
evaluation. Once there is a release of Xalan-Java that includes support
for JAXP 1.3, that should solve your problem. Do you need a solution in
the interim?
Thanks,
Henry
------------------------------------------------------------------
Henry Zongaro Xalan development
IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044
mailto:[EMAIL PROTECTED]