W3C home > Mailing lists > Public > www-html@w3.org > July 2006

From XML to (X)HTML with Semantics Intact

From: Costello, Roger L. <costello@mitre.org>
Date: Tue, 25 Jul 2006 18:05:41 -0400
Message-ID: <B8415163A689094689542C617ECA0366E04423@IMCSRV5.MITRE.ORG>
To: <www-html@w3.org>
Hi Folks,


Consider this XML:





          <uncertainty units="meters">2</uncertainty>



It has quite a lot of semantics - it has information about a location;
namely, the location is represented by a collection  (no sequence
implied) of values, one representing the latitude, one representing the
longitude, and one representing the uncertainty of measurement.


How would you represent this in (X)HTML, with all of the semantic
richness retained?  That is, can (X)HTML capture all of the semantic
richness, albeit in a different form/markup?  


One possible solution is this:




    <li>Latitude: 32.904237</li>

    <li>Longitude: 73.620290</li>

    <li>Uncertainty: 2 meters</li>



While this does seem to provide the same information as the above XML,
I am a bit uneasy about it.  Can you suggest a way of expressing the
information in (X)HTML that retains the semantic richness of the XML?



Received on Tuesday, 25 July 2006 22:03:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:13 UTC