[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Units of Measure


units of measure
Actually, the Newton is the SI unit of force; Pascals are used for
pressure.  And I wouldn't include the prefix (k, m,  µ,  M, G, etc.) as
part of the unit, instead treating it simply as an implied exponent of
10 (e.g., 3 for kilo, 6 for Mega, -6 for micro).  So we'd have

    <Impact force="345" unit="N" exponent=3 />.

This makes it easier to normalize different values, and limits the
number of SI units of measure you have to accommodate in the schema as
enumerations.  It would be up to the stylesheet or application to take
the exponent and apply the proper SI prefix to the unit of measure when
the value is displayed.

William J. Kammerer

----- Original Message ----- 
From: "David Carlisle" <davidc@n...>
To: <david.lyon@c...>
Cc: <xml-dev@l...>
Sent: Friday, 04 March, 2005 07:55 AM
Subject: Re:  [About Unicode] Why the symbol LOGICAL NOT is
missing from the UCS ?



   Do they crash do they...? that's a pity... :-)

I do find it odd though that you think that the fact that your format
isn't XML merits a ":-)" For most people on this list (who I assume are
here for the XML and not just for the Haikus) it means that it is not
really even a format to be considered. Why use <xx> markup at all if you
are going to be so incompatible?

]
] My only trailing comment is to say that xml markup is in itself a type
                                          ^^^
                                          ^^^
] of formula language. Or, more accurately, it is a form of expression
not so
] much for the question, but rather the results.
]
] <Impact>
]  Force#=345
]  Scale&="KPa"
] </Impact>
]

That is not XML. The result of that particular markup is that unless
someone has your software they can't even parse it, still less figure
out what it means, why on earth wouldn't you mark that up as
<Impact force="345" scale="KPa"/>

David



PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.