Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XSLT transform time

From: shaun <shaun.roe@----.-->
To: NULL
Date: 9/1/2005 11:42:00 AM
Question about :what is a reasonable time for a transform?

I am transforming an XML file of ~70 000 lines into a file of ~100 000 
lines using XSLT, and also doing the reverse to reconstitute the 
original file. 

The amount of actual data in each node only takes about a line, so a 
reasonable estimate of the number of nodes could be (number of lines)/2.

The initial file has a depth, on average, of about 4. The resulting file 
is essentially flat, all nodes are in the root node.

Using Saxon 6.5.4, the forward transform is taking about 20 seconds. The 
reverse transform (from essentially flat to the nested structure) is 
taking about 200 seconds. I am performing the transform in the Oxygen 
xml editor - which probably implies a little overhead - on a Mac G4 
1.25GHz.

Questions:
Do these times seem representative for this file size?
Is the asymmetry between (nested -> flat - I mainly use the intrinsic 
recursion) and (flat -> nested - I mainly use for-each) to be expected?
Would xsltproc be quicker, or some other tool?

many thanks

shaun


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent