Quantcast
Channel: xml feed vs xml document parsing -- the difference? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

xml feed vs xml document parsing -- the difference?

$
0
0

When parsing XML like below, does book.xml need to be a static file of xml or can I use a dynamic feed url of RSS? Does a feed URL need to end in XML or can it simply be the URL (like: http://feeds.voices.washingtonpost.com/wp/reliable-source/index)?

if (window.XMLHttpRequest)  {  xhttp=new XMLHttpRequest();  }else // IE 5/6  {  xhttp=new ActiveXObject("Microsoft.XMLHTTP");  }xhttp.open("GET","books.xml",false);xhttp.send();xmlDoc=xhttp.responseXML;

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>