improved the ogre xml parser