Subject: [xsl] How to transform a 5GB input XML document? From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 29 Jan 2025 11:45:32 -0000 |
Hi Folks, My input XML document is 5GB. I need to transform the document; the resulting output XML document will be at least that size. Have you transformed huge XML documents? How did you do it? XSLT requires the entire input XML document be loaded into memory; my experience is the XSLT processor fails --regardless of how much heap space is provided--with a Java out-of-memory error when given a 5GB sized input document. Assertion: XSLT is unsuitable for transforming huge XML documents. <-- I hope you will tell me this assertion is false and will then explain how to use XSLT to process huge XML documents. Did you use XML Streaming to transform huge XML documents? Did you write a Java program to process-- in a streaming fashion--the XML document, using the SAX API? /Roger
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Match Parents Element ID, Martin Honnen martin | Thread | Re: [xsl] How to transform a 5GB in, Martin Honnen martin |
Re: [xsl] Match Parents Element ID, Martin Honnen martin | Date | Re: [xsl] How to transform a 5GB in, Martin Honnen martin |
Month |