change xml to resources