{"id":122,"date":"2005-07-12T12:05:09","date_gmt":"2005-07-12T18:05:09","guid":{"rendered":"\/?p=122"},"modified":"2005-07-12T12:05:09","modified_gmt":"2005-07-12T18:05:09","slug":"xhtmlsvg-htmlvml","status":"publish","type":"post","link":"https:\/\/www.codedread.com\/blog\/archives\/2005\/07\/12\/xhtmlsvg-htmlvml\/","title":{"rendered":"XHTML+SVG =&#62; HTML+VML"},"content":{"rendered":"<p>Today I learned a bit about Microsoft's early attempt at a markup language for vector graphics:  <a href=\"http:\/\/www.w3.org\/TR\/NOTE-VML\" title=\"Vector Markup Language\">VML<\/a>.  I was surprised to find out that IE 5 and 6 both support it, yet (as far as I know) no one uses it on the web.  At the very least it is a great solution to the rounded corners problem that's been mentioned on the <a href=\"http:\/\/blogs.msdn.com\/ie\/archive\/2005\/06\/23\/431980.aspx\">IEBlog<\/a> and <a href=\"http:\/\/blog.codedread.com\/archives\/2005\/06\/23\/rounded-corners-the-last-word\/\">here<\/a>.  Incidentally, the IEBlog post above has a VML example that turned me onto it in the first place.  <!--more--><\/p>\n<div class=\"ads\"><object type=\"text\/html\" width=\"468\" height=\"60\" data=\"http:\/\/www.codedread.com\/gads.php\"><\/object><\/div>\n<p>VML has support for shapes, paths, gradients, text and can be styled using CSS.  Though animation and scripting are mentioned in the design requirements, I can't see anything in the spec that indicates VML support them.  But based on my simple little test, VML does integrate nicely with HTML, better than any SVG implementation out there that I know of.  (Note that I said HTML, not XHTML).  It's a shame that VML didn't get a chance to undergo the (lengthy) peer review process that SVG did...<\/p>\n<p>At least for primitive uses like rounded corners, scalable icons\/backgrounds, why doesn't someone write a server-side script that can transform XHTML+SVG into HTML+VML for Internet Explorer users?  Of course there are lots of caveats with this such that it may not be worth it, but VML seems to be virtually a subset of SVG with slightly different syntax.  So for someone's personal site that has specific requirements that do not stray beyond VML capabilities, it seems like it would be feasible and it would provide users with an \"almost-SVG\" experience on IE without the use of a plugin.<\/p>\n<p>[Trivia I learned later:  I subsequently learned that all the graphics in the Microsoft Office products are done via VML.]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I learned a bit about Microsoft&#8217;s early attempt at a markup language for vector graphics: VML. I was surprised to find out that IE 5 and 6 both support it, yet (as far as I know) no one uses it on the web. At the very least it is a great solution to the [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,46,11,28,30],"tags":[],"class_list":["post-122","post","type-post","status-publish","format-standard","hentry","category-software","category-svg","category-technology","category-web","category-xml"],"_links":{"self":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":0,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/122\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/categories?post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/tags?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}