Re: extending the org.apache.xalan.extensions.ExtensionHandlerJavaClass

Adrian Herscu <[email protected]>
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <[email protected]>
[email protected] wrote:
> The implementation details of calling a template are significantly 
> different from those of calling an external function. I don't think you're 
> going to be able to make this work easily.
> 
> Suggestion: Can you rewrite the template you want to invoke as an XPath? 
> If so, you could use that directly in the variable's select field. 

This works well if the XPath expression is short enough. For example:
concat('services.',string:lowerCase(@name))

The downside is that you loose the semantics...

Thanks anyway,
Adrian.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.