Publishing edit branch

This commit is contained in:
ahocevar
2013-09-14 00:29:38 +02:00
parent 516c1b39f7
commit 84cad42f6d
1831 changed files with 265355 additions and 208675 deletions
+18
View File
@@ -0,0 +1,18 @@
var parser = new ol.parser.ogc.WMSCapabilities(), result;
var url = 'data/ogcsample.xml';
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
/**
* onload handler for the XHR request.
*/
xhr.onload = function() {
if (xhr.status == 200) {
result = parser.read(xhr.responseXML);
document.getElementById('log').innerHTML =
window.JSON.stringify(result, undefined, 2);
}
};
xhr.send();