using blocks for XML parsing in texture atlas