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

Mapping XML to XHTML - your recommendation for handling attributes?

From: Costello, Roger L. <costello@mitre.org>
Date: Sat, 26 Aug 2006 17:31:46 -0400
Message-ID: <B8415163A689094689542C617ECA0366F895AC@IMCSRV5.MITRE.ORG>
To: <www-html@w3.org>
Hi Folks,


I am mapping an XML document to XHTML.


Leaf nodes in the XML document I map to an XHTML <dl> element, e.g.,




I map to:


<dl class="aircraft_elevation">

      <dt>Aircraft Elevation</dt>




Now suppose <aircraft_elevation> has an attribute:


<aircraft_elevation units="meters">12000</aircraft_elevation>


How do you recommend I map the attribute?  


Received on Saturday, 26 August 2006 21:31:10 UTC

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