![]() |
|
![]() |
||
![]() |
![]() |
|
[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date] 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., <aircraft_elevation>12000</aircraft_elevation> I map to: <dl class="aircraft_elevation"> <dt>Aircraft Elevation</dt> <dd>12000</dd> </dl> Now suppose <aircraft_elevation> has an attribute: <aircraft_elevation units="meters">12000</aircraft_elevation> How do you recommend I map the attribute? /RogerReceived on Saturday, 26 August 2006 21:31:10 GMT |
|
||||||||||||||||