Hi Folks,
The semantics of an XML document is determined by the actions taken on the XML document.
Consider this XML document:
<airplane-flight>
<duration units="hours">1</duration>
<speed units="kilometers-per-hour">500</speed>
</airplane-flight>What is its semantics?
Answer: it has no semantics because it has no actions.
Pair up the XML document with actions that compute duration * speed (i.e., distance traveled by the airplane flight):
The semantics of the XML document is: 500
Pair up the XML document with different actions and it has different semantics:
Now the semantics of the XML document is: 310.686
----------------------------------------------
Wicked cool!
Comments?
/Roger