atom and xml reading