read xml online and made into an object