Lists Home |
Date Index |
- From: John Cowan <firstname.lastname@example.org>
- To: XML Dev <email@example.com>
- Date: Thu, 09 Jul 1998 18:17:17 -0400
Steven Champeon wrote:
> <DATE TIMEZONE="GMT" MONTH="07" DAY="09" YEAR="1998" DAY="Thu" HOUR=...>
> When we could (and probably should) do:
> <DATE>Thu Jul 9 12:13:13 EDT 1998</DATE>
> or its equivalent? I can see the desire to genericize logfile entries
> getting ugly quick :)
I actually prefer the former to the latter, since it means I don't
have to have a date parser behind the XML parser. Using attributes
makes it easy to pick out all 1998 entries, or all Thursdays, or
all July 1998 entries, or whatever.
In no case should we standardize on that ancient format. If we
must represent dates as strings rather than as attribute-bags,
we should use a profile of ISO 8601.
John Cowan http://www.ccil.org/~cowan firstname.lastname@example.org
You tollerday donsk? N. You tolkatiff scowegian? Nn.
You spigotty anglease? Nnn. You phonio saxo? Nnnn.
Clear all so! 'Tis a Jute.... (Finnegans Wake 16.5)
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)