adds some more implementation for xml parser