开发者

How to speed up XSL Transformations?

开发者 https://www.devze.com 2023-01-09 21:03 出处:网络
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 fie

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消