XSLT transform time

S

shaun

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top