xxxxxxxxxx
<meta charset="utf-8">
<head>
<script src="https://d3js.org/d3.v3.min.js"></script>
</head>
<body>
<script>
var today = new Date();
var dd = today.getDate();
var mm = today.getMonth()+1; //January is 0!
var yyyy = today.getFullYear();
if(dd<10){
dd='0'+dd
}
if(mm<10){
mm='0'+mm
}
var today = dd+'/'+mm+'/'+yyyy;
//var datos;
// estoy usando https://crossorigin.me/ pero deberia meter un proxy.php mio
//
var url = "https://crossorigin.me/https://bahiablanca.gov.ar:8080/Publico/qpbb?f1=" + today + "&f2=" + today;
d3.xml(url, "application/xml", function(xml) {
// datos = xml;
d3.select("body")
.selectAll("p")
.data(xml.documentElement.getElementsByTagName("item"))
.enter().append("p")
.text(function(d) { return d.innerHTML; });
});
</script>
</body>
</html>
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js