[XML-SIG] A bit off topic: XML advice needed...

Walter Underwood wunder@infoseek.com
Wed, 03 Mar 1999 10:27:27 -0800

At 09:07 PM 3/3/99 +1100, Stuart Hungerford wrote:
>Anyways, suppose I have a DTD that describes elements for
>dates, and in particular the <date> element. Now suppose I 
>want to re-use my <date> element definition in a DTD for
>marking up "events".  Each event has a start date and end
>date. (Please forgive any terminology errors here).

A different approach is to use a date-range format in the data,
rather than in the XML. Here is an ISO 8601 time period with 
a specific start date:


That is a period that starts at 23:20:50 on 12 April 1985, and
lasts for one year, two montsh, 15 days, and 12 hours.

See a summary of the ISO spec here:


ISO 8601:1988 here:


and ISO 8601:1998 (draft) here:


W3.org recommends a subset of the ISO date format for web use.
That subset ("profile") is online at www.w3.org, somewhere.
It does not include the part of the spec dealing with time


Walter R. Underwood
wunder@best.com (home)
http://software.infoseek.com/cce/ (my product)