Parsing, Indexing and Querying a large XML corpus in c++