Made xml parsing compatible with Windows Phone platform