{"id":147,"date":"2002-12-31T16:01:00","date_gmt":"2002-12-31T21:01:00","guid":{"rendered":"http:\/\/crazedmonkey.com\/blog\/uncategorised\/0080.html"},"modified":"2006-10-15T22:42:11","modified_gmt":"2006-10-16T03:42:11","slug":"0080","status":"publish","type":"post","link":"http:\/\/crazedmonkey.com\/blog\/computers\/0080.html","title":{"rendered":"Proper HTML is difficult; proper XML is even more so."},"content":{"rendered":"<p>Mark Pilgrim: <a href=\"http:\/\/diveintomark.org\/archives\/2002\/12\/30.html#the_tag_soup_of_a_new_generation\">The tag soup of a new generation<\/a>. Mark spouts off on something which I have been thinking about for a while now. How will people who can barely handle HTML make proper use of XML, and all the restrictions which accompany it? Many HTML document authors barely adhere to a proper element structure, let alone ensure that they make use of the proper case, use character entities where appropriate, or enclose all attributes within quotes.<\/p>\n<blockquote cite=\"http:\/\/diveintomark.org\/archives\/2002\/12\/30.html#the_tag_soup_of_a_new_generation\">\n<p>And you want to <q>move towards replacing a WWW full of HTML documents to one full of XML documents<\/q>? Are you sure? Because realistically, all you&#8217;ll manage to do is replace a morass of bloated, poorly written, invalid HTML documents with a morass of bloated, poorly written, invalid XML documents.<\/p>\n<\/blockquote>\n<p>Let us not forget element naming, which, like any other naming, is an art. I don&#8217;t trust the same people who include <code>&lt;div class=\"bold\"&gt;Heading&lt;\/div&gt;<\/code> or <code>&lt;div class=\"center\"&gt;Title&lt;\/div&gt;<\/code> in their documents, rather than use either presentation-neutral class names or the already-provided HTML <q>logical styles<\/q>, to come up with proper names for their XML elements. <em>I<\/em> can barely come up with proper element names and <em>I actually care<\/em>. Similarly, I don&#8217;t trust those who believe one requires JavaScript to submit a simple HTML form to give enough thought to their document structure.<\/p>\n<p>Like Mark, I am choosing to stick to the confines of HTML for my web documents, and, given that I have been tweaking the structure of my weblog since I started it back in July, I am <em>still<\/em> having difficulty getting it just right.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mark Pilgrim: <a href=\"http:\/\/diveintomark.org\/archives\/2002\/12\/30.html#the_tag_soup_of_a_new_generation\">The tag soup of a new generation<\/a>. Mark spouts off on something which I have been thinking about for a while now. How will people who can barely handle HTML make proper use of XML, and all the restrictions which accompany it? Many HTML document authors barely adhere to a proper element&nbsp;&hellip;&nbsp;<a class=\"read_more\" href=\"http:\/\/crazedmonkey.com\/blog\/computers\/0080.html\" rel=\"bookmark\" title=\"Continue reading &ldquo;Proper HTML is difficult; proper XML is even more so.&rdquo;\"><span>Read more<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[4,8],"tags":[],"_links":{"self":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/147"}],"collection":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":0,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"wp:attachment":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}