Use of Currency

The use cases for "W3C XML Query data model, algebra, and query language" do not
include a "currency" tag in the "price".  The "price" is stated as a decimal
value, making it impossible to determine what currency the price is in.

I tried to check the DTD at http://www.bn.com/bib.xml but it doesn't seem to
exist.

It should probably look more like:

<price><currency>USD</currency><value>65.95</value></price>

I realise the intention of the use cases is illustrate uses of the particular
standard in discussion, but currency and currency conversions are fundamental to
the use of XML as a B2B solution.

The standard could even be extended so that all prices are converted to a single
currency using a function, but maybe this is a bit ambitious at this stage.

Regards, Robert Green




************************************************************
Opinions contained in this e-mail do not necessarily reflect
the opinions of the Queensland Department of Main Roads,
Queensland Transport or National Transport Secretariat, or
endorsed organisations utilising the same infrastructure.
If you have received this electronic mail message in error,
please immediately notify the sender and delete the message
from your computer.
************************************************************

Received on Monday, 26 February 2001 17:49:32 UTC