Tengshe, Ashish wrote:
This may not be relevant to you but I thought I'd just post these performance
tips,
Very nice list there.
A few years ago, I benchmarked slight improvements in XML parsing speed and
memory overhead when I removed extraneous whitespace and comments from very
large stylesheets.
XSLT processors tend to keep the original stylesheet tree (before whitespace
stripping) in memory so that document('') will work, so anything you can do to
squeeze extra nodes out of that tree will free up some RAM. The stylesheets
probably won't run any faster, but their load time and memory consumption will
be reduced.
See http://skew.org/xml/stylesheets/condense/ for an example of a stylesheet
that I used to produce 'condensed' stylesheets.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list