How to get raw content of XML based URL
android - Trying to get XML from an URL - Stack Overflow
How to capture an XML file from URL? - PHP - SitePoint Forums | Web Development & Design Community
How to parse xml data directly from website
Videos
Would appreciate any help anybody can offer. I’m trying to download the contents of a webpage that contains just XML content. However it seems that then accessing that raw XML content as text in subsequent steps is impossible. The steps I have are:
Get contents of URL (this one: ftp://ftp.bom.gov.au/anon/gen/fwo/IDV10752.xml)
Set text, using the contents from this URL as a variable
It seems you cannot get the raw XML. If you get the variable as text, it just gives you a document name. If you get the variable as rich text, you get the content with all the tags stripped. Am I missing something here or is this something that isn’t possible?
Simply click the File button (the 3 lines), and click Save Page As.
For example, I went to xml-sitemaps.com/sitemap.xml and clicked Save Page As. It saved as XML to my local machine and loaded as such. Without any HTML.
The fact yours is saving HTML suggests the page you're saving is not an XML page but is an HTML page which just references XML. If that is the case, you'll need to locate the locations of the XML, navigate to them in the browser and then "Save Page As."
In later versions of Chrome, "Save Page As" is now under More tools section in the options menu.
I just figured this out. If you want to save the file as XML, make sure you are looking at the page source (Tools->View source or Control+U).