Added XML parsing to localStorage