Process huge XML documents in tree mode
