I'm trying to write an extension element which calls a template with content
I generate.
The problem is if I use...
TransformerImpl transf = context.getTransformer ();
String name =
elem.getAttribute ( "name", context.getContextNode (), transf );
ElemCallTemplate ect = new ElemCallTemplate();
ect.setName( new QName(name) );
ect.execute( transf );
the message I get is 'Could not find template named:'
Using the xslt call-template with the same template name seems to work fine.
What is the difference - or am I missing how to use the ElemCallTemplate?
Nigel
--
View this message in context:
http://old.nabble.com/How-to-use-ElemCallTemplate--tp27278822p27278822.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.