I\'m trying to implement some python code for a colleague. My script uses an XML parser to parse over their XML document collecting fragments of text and noting the cursor p