title: Use GZIP to boost XML-parsing
body: <p>I am facing the problem to handle many xml-files that are all greater than 70 MB. Validating and accessing them cost a lot of time. Now I am wondering if the following steps could increase my applications performence.</p>
  
  <p>I can compress a 70MB xml-file in a gzip-file &lt; 1MB.
  So I could hold only gzip files. 
  Working with the data could be done like this:</p>
  
  <ul>
  <li>Make the gzip available with java.io.File (only the small file)</li>
  <li>Using for example StringBufferInputStream and GZIPInputStream to extract the conten within the RAM</li>
  <li>work with the content (RAM): Parse, Validate, ...</li>
  <li>create a String in RAM that represents the new xml-content (RAM)</li>
  <li>Use GZIPOutputStream to access the file system (small content again)</li>
  </ul>
  
  <p>Can I do this or id there a misapprehension in my thoughts?</p>
  
  <p>THX in advance!
  Hans</p>