[
Lists Home |
Date Index |
Thread Index
]
- From: John Cowan <cowan@locke.ccil.org>
- To: XML Dev <xml-dev@ic.ac.uk>
- 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 cowan@ccil.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:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|