title: Get start and end locations of each XML tags in python
body: <p>I want to index a large(1GB) XML file. Therefore I need to get start and end memory locations of each XML tags, so that, later I want to randomly access each section of the file. Is there a method or a library for this? where can I file these information?</p>