# Describing the relationships between units-of-measure?

• To: xml-dev@l...
• Subject: Describing the relationships between units-of-measure?
• From: "Roger L. Costello" <costello@m...>
• Date: Fri, 18 Jul 2003 07:45:50 -0400
• Cc: "Costello,Roger L." <costello@m...>
• Organization: The MITRE Corporation

```Hi Folks,

Let's suppose that units-of-measure are represented as properties, e.g,

<River id="Yangtze">
<length>
<kilometer>6300</kilometer>
</length>
</River>

Here is an example where the length of the Yangtze River is described
using a mile property:

<River id="Yangtze">
<length>
<mile>3914</mile>
</length>
</River>

It would be very useful to be able to state the relationship between the
kilometer and mile properties.  For example, suppose that I wish to
define the kilometer property:

<Property id="kilometer">
...
</Property>

When I define this property it would be very useful to express that this
property is related to the mile property, e.g.,

<Property id="kilometer">
"This property is related to the mile property.  Namely,
if the value of a mile property is multiplied by 1.62
and it yields a value that is equal to the value of this
property, then the two properties are said to represent
the same distance."
</Property>

Do you have any suggestions on how to syntactically represent this
relationship statement?

Here is a more complex example, showing a map location using two
different coordinate systems:

<Map id="M1">
<location>
<cartesian-coordinate>
<x>
<kilometer>100</kilometer>
</x>
<y>
<kilometer>100</kilometer>
</y>
</cartesian-coordinate>
</location>
</Map>

<Map id="M21">
<location>
<polar-coordinate>
<r>
<kilometer>141.421</kilometer>
</r>
<theta>
</theta>
</polar-coordinate>
</location>
</Map>

It would be very useful to be able to state the relationship between
these coordinate systems, e.g.,

<Property id="cartesian-coordinate">
"This property is related to the polar-coordinate
property.  Namely, if these equations are satisfied:
x = r sin theta
y = r cos theta
then the two properties are said to represent the same
location."
</Property>

(For the moment let's ignore the conditions that Alaric noted yesterday)

Do you have any suggestions on how to syntactically represent this
relationship?

/Roger

```

### PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

### Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
 RSS 2.0 Atom 0.3 Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

 Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.