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. 

XSLT 2.0 does add the ability to write named functions in XSLT and invoke 
them from within XPaths. Unfortunately, Xalan only supports XSLT 1.0.

______________________________________
"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
  -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (
http://www.ovff.org/pegasus/songs/threes-rev-11.html)

Reply via email to