Correct reading into xml