Actually I found a partial (?) answer to my question at
http://xml.apache.org/xalan-j/xpath_apis.html



On Thu, Feb 21, 2008 at 5:32 PM, Toadie <[EMAIL PROTECTED]> wrote:
> Hello
> I am interested in whether or not it would be possible to extend or
> write a customer Extension Element Resolver  (extend is ideal).
>
> My use case is as follows:  I'd like to have XSLT invoking custom java
> extension functions whereby the java extension functions are created
> via Spring factory instead of just standard class.forName as it is
> used in org.apache.xalan.extensions.XPathFunctionResolverImpl
>
> My questions are:
> 1.  If I were to extend XPathFunctionResolverImpl , how would I
> register my custom FunctionResolverImpl with Xalan (2.7.1)
> 2.  Or alternatively, do I have to write a custom XPathFactory and
> register that via javax.xml.xpath.XPathFactory property as per JAXP
> way?
>
> Thanks in advance for any insights
>
> T.
>

Reply via email to