I'm trying to extract data from an xml page. An example URL would be
http://eu.wowarmory.com/character-sheet.xml?r=Aggramar&n=Bubonica
When I look at the page source in IE or Firefox, it seems to be a pure
xml document, with an xml stylesheet referenced so that the browsers
can pretty it all up. However the response to the _IG_FetchXmlContent
is coming back as a string, and when I look at it it seems to be an
xhtml page complete with doctype, formatting, javascript, etc. etc.
The only things I can think of are either that Blizzard is sending
back different responses based on the user agent, and that IE and
Firefox are getting the xml whereas whatever user agent
_IG_FetchXmlContent sends, if any, is getting a fallback xhtml page,
or that _IG_FetchXmlContent is processing the stylesheet instruction
and applying the stylesheet before it returns the document to the
calling code.
Either way, I want it to stop! Anyone come across this problem before?
Cheers,
Ged.