On 2011-09-02, at 5:22 PM, Mo Mughrabi wrote:
The problem with my approach that the xml is not validated and the reading operation can be exhausting to parse the xml every time.
Why are you parsing through the XML every time? That seems awfully inefficient. There are xml parsers that don't involve parsing the entire tree, as far as I remember: http://docs.python.org/library/markup.html
But I would take the XML and store the bits you need in a more efficient format.
No comments:
Post a Comment