{"id":247,"date":"2008-08-12T08:07:00","date_gmt":"2008-08-12T08:07:00","guid":{"rendered":"http:\/\/www.sgmlguru.org\/wp\/?p=247"},"modified":"2015-01-14T18:35:28","modified_gmt":"2015-01-14T18:35:28","slug":"wysiwyg-rant","status":"publish","type":"post","link":"http:\/\/www.sgmlguru.org\/wp\/?p=247","title":{"rendered":"WYSIWYG Rant"},"content":{"rendered":"<p><span style=\"font-weight: bold;\">&lt;rant&gt;<\/span><br \/>How come a web-based XML editor can call itself a &#8220;WYSIWYG editor&#8221;? WYSIWYG, per definition, stands for <span style=\"font-style: italic;\">What You See Is What You get<\/span>, but that&#8217;s just madness in this context, for several reasons:<\/p>\n<p>First of all, XML is supposed to be about <span style=\"font-style: italic;\">semantics<\/span> and <span style=\"font-style: italic;\">structure<\/span>, not about <span style=\"font-style: italic;\">contents<\/span> and <span style=\"font-style: italic;\">presentation<\/span>. The idea is that you present your XML according to your media. On paper, a certain layout is desired, with page numbers, page references, and so on. Online, you need hyperlinks, sans serif fonts, and so on. On a mobile phone&#8217;s two-inch screen, you need to break down yur information to short chunks with short titles and captins. And so on.<\/p>\n<p>Furthermore, different web browsers will display a web page differently. A page displayed using <span style=\"font-weight: bold;\">Internet Explorer<\/span> will not be identical to the the same page in <span style=\"font-weight: bold;\">Firefox<\/span>. Sure, they are close these days, but not the same.<\/p>\n<p>And finally, when displaying XML in something other than a pure text editor, you apply a stylesheet of some kind. CSS is common; <span style=\"font-weight: bold;\">XMetaL<\/span> uses it, as does <span style=\"font-weight: bold;\">Oxygen<\/span>. Web-based XML editors often use a combination of XSLT and CSS, so <span style=\"font-style: italic;\">two<\/span> stylesheets, not one.<\/p>\n<p>Isn&#8217;t this the exact opposite of WYSIWYG? You get further away from what XML actually looks like while not getting closer to the published result.<\/p>\n<p>WYSIWYG, in the context of XML and structured documentation, is in my humble opinion a marketing ploy by companies that seem to have little else to offer.<br \/><span style=\"font-weight: bold;\">&lt;\/rant&gt;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&lt;rant&gt;How come a web-based XML editor can call itself a &#8220;WYSIWYG editor&#8221;? WYSIWYG, per definition, stands for What You See Is What You get, but that&#8217;s just madness in this context, for several reasons: First of all, XML is supposed to be about semantics and structure, not about contents and presentation. The idea is that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[178,179,145,136],"tags":[],"_links":{"self":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/247"}],"collection":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=247"}],"version-history":[{"count":0,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/247\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}