OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Re: maps

[ Lists Home | Date Index | Thread Index ]

Bob Hutchison wrote:
[[

I'll try again.

The idiom is 75°15'00" N 43°05'00" W

The idiom is NOT <lat>75°15'00" N</lat><long>43°05'00" W</long>

The idiom is NOT <lat>75.25</lat><long>43.08333333333333</long>

Apparently the former is OK but the later is not.

Why?

]]

The point of this thread is totally lost on me.

I'd say that a good way to represent coordinates in XML would be:

<map.coordinate>
 <north>
    <deg>75</deg>
    <min>15</min>
    <arc>00</arc>
 </north>
 <west>
    <deg>45</deg>
    <min>05</min>
    <arc>00</arc>
 </west>
</map.cooordinate>

(or whatever the names of the elements should be).

This way to structure the XML is:

1) structured
2) structured
3) easily parsable
4) the _numbers_ are represented as values, the _units_ belong to the
element _type_ i.e. the element name.

But I'm sort of missing what the big debate is about here, I think...

Jonathan





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS