W3C home > Mailing lists > Public > public-exi@w3.org > February 2016

XHTML representation

From: Brett Zamir <brettz9@yahoo.com>
Date: Fri, 12 Feb 2016 13:20:12 -0700
To: public-exi@w3.org
Message-ID: <56BE3E7C.8020006@yahoo.com>
Might you consider using an XHTML representation in place of your own 
XML tags? This would offer the benefit of being readable without 
additional CSS styling as well as potential editing within WYSIWYG editors.

My project at https://github.com/brettz9/jhtml aims to fulfill this 
purpose. Demo at http://brettz9.github.io/jhtml/ . Here is the 
responsible HTML representing the object on the page:

<dl itemscope="" 
xmlns="http:/www.w3.org/1999/xhtml"><dt>string-key</dt><dd>a string (no 
child element needed for this primitive as string is the 
start="0"><li>arr item 1 (string)</li><li><i>true</i></li><li>arr item 3 
(string) value</dd><dt>nested-key-2</dt><dd>Another (string) 

My goal, as in the spirit of the microformats project, was to avoid 
non-visible markup as much as possible.

Received on Friday, 12 February 2016 20:20:43 UTC

This archive was generated by hypermail 2.3.1 : Friday, 12 February 2016 20:20:43 UTC