Anton Khodakivskiy wrote:
Thanks Dave that was helpful.
Are there any other XSLT libraries which parse the xml as the stream and
do not consume that much memory? I have read about SAXON-SA and they
claim that the library supports up to 20 gig xmls.. I will test it
shortly. Too bad it's commercial.. Also there is another commercial
implementation from Intel which is supposed to handle large xmls...
You can try the free version of Saxon, if you don't want to use a
commercial version. I'm not sure how Saxon's source tree implementation
works, but it has historically been an in-memory one.
I don't know much about the Intel library, but perhaps they have a trial
version you can use for testing purposes.
I tried Joost STX library yesterday and it works pretty good, btw..
Well, if STX works for your requirements, then that's the way to go.
Dave