How to handle very large XML file (StAX / SAX / pull parser)?

Hi guys   I had a zip, when unzipping, it is around 350 mb xml file. When trying to capture that in a string, the app crashes as expected. I am wondering what the best way is to partially parse this xml file to my domain. I read about StAX/SAX pull parsers, has anyone did a similar job ? How can I do this the best? thanks
1 answers

Hi Enzo,

Did passing the XML document to the import mapping not work either? The documentation says you can pass a string, file document, or an Http request.


The documentation also has a good example on how to do an import from a file.