Python prototype of mxml parser