1) I have a standard format of XML. Depending on the type(Defined on an attribute), I wish to call different XSLs. Is it possible. I am using Xalan. This way I can store a lot of complexity from one XSL to multiple XSLs. Is there an alternative. Like being able to call Java functions. And doing the same.
2) Also I tried to return HTML tages from java functions. But for tages with < and > its replaced by < and >. How can I overcome this