[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Transform a million XML documents

Subject: Re: Transform a million XML documents
From: "Eliot Kimber ekimber@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 Feb 2017 15:23:22 -0000
Re:  Transform a million XML documents
I can report that collection() worked fine on my smaller test set of about 50K
documents. Will have a test against the full 1 million data set in the next
day or two. Again, this is a Saxon-specific feature.



Eliot Kimber

On 2/13/17, 8:39 AM, "Matthew Stoeffler matthew.stoeffler@xxxxxxxxxx"
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

    Ibve done this on a smaller scale: about 44,000 input documents, minimum
of 2K per doc.  I chose to loop with collection function  and send each input
node to a result tree written out with result document to a temp , working
directory, and generate directly from the loop a shell script that then moved
all the temp files to a final location. This because I has a lot of related
asset files that also needed to move.  I was able to run this with Saxon PE.
I donbt remember run time, but it didnbt seem excessive.


    > On Feb 10, 2017, at 4:52 PM, Michael Kay mike@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:



    >> Here is a summary of the ensuing discussion.


    >> Scenario: There are a million XML documents that need to be
transformed. Each file is in the 1-4KB range. The files are organized into
directories about 4 or 5 deep and some directories have 100s or 1000s of


    >> Transforming a million files is easily handled by Saxon-EE,



    > That is in no way a summary of what I wrote on that thread. I wrote,
much more cautiously "I can't see any particular reason why collection()
shouldn't handle it".


    > Michael Kay

    > Saxonica

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.