After I open an Xml document in Chrome, I want to get the XML source in console via js.
But document object seems to be an HTML document.
So How can I get the real Xml and is there any way to judge whether a file is an xml document?
After I open an Xml document in Chrome, I want to get the XML source in console via js.
But document object seems to be an HTML document.
So How can I get the real Xml and is there any way to judge whether a file is an xml document?