469,609 Members | 1,437 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

XSLT transform time

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

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

Sep 1 '05 #1
0 976

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by K. N. | last post: by
8 posts views Thread by Ola Natvig | last post: by
2 posts views Thread by Patrick J. Schouten | last post: by
7 posts views Thread by One Handed Man \( OHM - Terry Burns \) | last post: by
3 posts views Thread by Ian Roddis | last post: by
1 post views Thread by Nick | last post: by
reply views Thread by Solution2021 | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.