[uf-discuss] Automatic conversion of XML to microformat and vice
versa; recommendation for handling XML attributes?
Bruce D'Arcus
bdarcus.lists at gmail.com
Sun Aug 27 08:44:17 PDT 2006
On 8/27/06, Costello, Roger L. <costello at mitre.org> wrote:
...
> I am having problems with mapping XML leaf nodes that have attributes,
> e.g.,
>
> <aircraft_altitude units="meters">12000</aircraft_altitude>
Can you change your XML? E.g.:
<aircraft>
<altitude>
<meters>12000</meters>
</altitude>
</aircraft>
I'd say as a general rule, if in doubt, use elements to represent
content in XML.
Bruce
More information about the microformats-discuss
mailing list