solving xml parsing