<div dir="ltr">Hi,<div><br></div><div>I just noticed the following:</div><div>in XSL you can import (or include) as many other XSL files as you want (let's call these include files). These include files have been created for certain use cases that belong together, usually providing a set of templates that can be reused.</div>
<div><br></div><div>I now noticed that with a lot of includes (e.g. 20) , the XSLT Processor gets slowed down a lot.</div><div><br></div><div>Did anybody experience this problem as well?</div><div><br></div><div>I did some performance analysis and found out that for EACH include / import statement, the processor calls org.wyona.yanel.core.source.SourceResolver.resolve() . </div>
<div>That method as such is very fast (1ms).</div><div>So the performance suffers from the logic between the two calls (which is inside the SAX parser libraries, so standard libs)...</div><div><br></div><div>Cheers, Balz</div>
</div>