How to speed up XSL Transformations?
Is there any way you can speed up XSL transformations? I am using the XSLCompiledTransform class to t开发者_运维百科ransform my XML files. My XML files contain around 3900 records with roughly 100 fields within each record. The transformation file for this is around 10 KB in size.
It takes about 25 - 30 minutes before I see the transformed file.
I am not sure if this is a factor of number of elements, memory capacity on my pc, the fact that I am on a 32 bit OS.
Does anyone know of any techniques that can speed up this transformation process?
Since you did not show us any of your code, I can give you only a very general advice: try another XSLT processor. xsltproc
is very fast, look at http://xmlsoft.org/XSLT/xsltproc2.html, Windows binaries are here.
精彩评论