Process huge XML documents by chunks via a tree interface