jQuery not processing Euro Bank XML
hi. I am just trying to retrieve a simple XML file located on that address:
http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml
I am trying:
- $.ajax({
- type: "POST",
- url: "http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml",
- dataType: "xml",
- success: function(xml) {
- alert(xml);
- });
- }, error: function(err) {
- alert(err);
- }
- });
but it's not returning nothing. sometimes, 200 or 206 HTTP error.
Anyone can help me?