{"id":12,"date":"2006-01-06T00:51:56","date_gmt":"2006-01-06T00:51:56","guid":{"rendered":""},"modified":"2017-03-07T16:09:16","modified_gmt":"2017-03-07T16:09:16","slug":"xhtml_1_1","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/curtis119\/2006\/01\/06\/xhtml_1_1\/","title":{"rendered":"xhtml-1.1"},"content":{"rendered":"<p>So, since I have to wait for Aaron to produce a new logo anyway I&#8217;ve decided to take the time to update the site to xhtml-1.1. This isn&#8217;t as easy as it may first seem. Not only does the resultant html need to conform to the specification but the XSL also needs to be altered somewhat to be compatible with this new version of xhtml. Just figuring out how to write the xsl:output method correctly was enough to give me a headache!<\/p>\n<p>It turns out that xhtml is actually considered to be xml and NOT html at all so the XSLT processor has to be informed of this and different namespaces declared. Did you know that xhtml is not &#8220;text\/html&#8221; but &#8220;application\/xhtml+xml&#8221;? Neither did I until yesterday.<\/p>\n<p>Anyway, I have the wwwredesign.gentoo.org site now serving xhtml-1.1 and it is *almost* error free and compliant. I&#8217;m almost done reading the <a href=\"http:\/\/www.w3.org\/TR\/2001\/REC-xhtml-modularization-20010410\/Overview.html\">xhtml-1.1 specification<\/a> and I should have the site passing the validation within a week. In just the last few days I&#8217;ve cut the number of errors from 59 to 15 so I&#8217;m almost there. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, since I have to wait for Aaron to produce a new logo anyway I&#8217;ve decided to take the time to update the site to xhtml-1.1. This isn&#8217;t as easy as it may first seem. Not only does the resultant html need to conform to the specification but the XSL also needs to be altered &hellip; <a href=\"https:\/\/blogs.gentoo.org\/curtis119\/2006\/01\/06\/xhtml_1_1\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">xhtml-1.1<\/span><\/a><\/p>\n","protected":false},"author":26,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/curtis119\/wp-json\/wp\/v2\/posts\/12"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/curtis119\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/curtis119\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/curtis119\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/curtis119\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/curtis119\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":32,"href":"https:\/\/blogs.gentoo.org\/curtis119\/wp-json\/wp\/v2\/posts\/12\/revisions\/32"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/curtis119\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/curtis119\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/curtis119\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}