{"id":21,"date":"2006-05-23T12:27:56","date_gmt":"2006-05-23T16:27:56","guid":{"rendered":"http:\/\/www.kralidis.ca\/blog\/2006\/05\/23\/when-to-use-xml\/"},"modified":"2006-08-16T12:11:14","modified_gmt":"2006-08-16T16:11:14","slug":"when-to-use-xml","status":"publish","type":"post","link":"https:\/\/www.kralidis.ca\/blog\/2006\/05\/23\/when-to-use-xml\/","title":{"rendered":"When to use XML"},"content":{"rendered":"<p>I remember, in <a title=\"1998\" href=\"http:\/\/en.wikipedia.org\/wiki\/1998\">1998<\/a>, an old boss of mine sending us a presentation on <a title=\"XML\" href=\"http:\/\/www.w3.org\/XML\/\">XML<\/a>, and how it was going to become the next big thing in information exchange.  Well, things have certainly moved along since then, and XML is <a title=\"all over the place\" href=\"http:\/\/www.google.ca\/search?q=xml\">all over the place<\/a>.<!--more--><\/p>\n<p>XML is great.  It&#8217;s human readable, application neutral and self-describing.  It&#8217;s also being used by everyone and their dog for anything possible.  While I&#8217;m quite the XML zealot (it has done wonders for us in the <a title=\"OGC\" href=\"http:\/\/www.opengeospatial.org\/\">OGC<\/a> and <a title=\"OSGEO\" href=\"http:\/\/www.osgeo.org\/\">OSGEO<\/a> communities), my experiences have taught me to use XML judiciously.  Sometimes a plain text config file is fine.  Sometimes binary encoding is needed (especially for voluminous data).<\/p>\n<p>I recently reacquianted myself with a <a title=\"web architecture document\" href=\"http:\/\/www.w3.org\/TR\/webarch\/\">web architecture document<\/a> from the <a title=\"W3C\" href=\"http:\/\/www.w3.org\/\">W3C<\/a> folks.  <a title=\"Section 4.5.1\" href=\"http:\/\/www.w3.org\/TR\/webarch\/#xml-when\">Section 4.5.1<\/a> provides some sound suggestions of when to apply XML to your application(s).  Happy reading!<\/p>\n<link rel=\"stylesheet\" href=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.css\" \/>\n<!--[if lte IE 8]>\n  <link rel=\"stylesheet\" href=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.ie.css\" \/>\n<![endif]-->\n<script src=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.js\"><\/script>\n<style type=\"text\/css\">#map21 { width: 300px; height: 200px; }<\/style>\n\n<div id=\"map21\"><\/div>\n<script type=\"text\/javascript\">\n  var map21 = L.map('map21').setView([42.375, -71.10611], 10);\n  L.tileLayer('http:\/\/{s}.tile.osm.org\/{z}\/{x}\/{y}.png', {\n      attribution: '&copy; <a href=\"http:\/\/osm.org\/copyright\">OpenStreetMap<\/a> contributors'\n  }).addTo(map21);\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>I remember, in 1998, an old boss of mine sending us a presentation on XML, and how it was going to become the next big thing in information exchange. Well, things have certainly moved along since then, and XML is all over the place.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,11],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-technology","category-web"],"_links":{"self":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":1,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":193,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions\/193"}],"wp:attachment":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}