parser changed to QDom;parser working with tiles