[Home] [By Thread] [By Date] [Recent Entries]


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


  • Follow-Ups:
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member