[XML-SIG] Useless fun thing for XML - comments or helpers?
Walter Underwood
wunder@infoseek.com
Thu, 03 Sep 1998 09:53:58 -0700
>>3) In XML there are no standard ways of specifying lexical structure in
>>PCDATA (yet). Attributes give better (but still unsatisfactory) control.
>>I am thinking primarily of the date element type.
>>
>><date yyyy = "2005" mm = "12" dd = "01"/>
On the other hand, there are times to specify structure without
using XML. The web profile of the ISO 8601 date format works
fine in this case. See http://www.w3.org/TR/NOTE-datetime for
the details. Here are some versions of the above using ISO 8601:
<date>2005-12-01</date>
<date value="2005-12-01"/>
<date scheme="ISO 8601">2005-12-01</date>
<date scheme="ISO 8601" value="2005-12-01"/>
and so on.
By the way, thanks for all the work on XML parsing. We're using
this to add XML support in future versions of Ultraseek Server,
our Python-based search engine.
wunder
Walter R. Underwood
wunder@infoseek.com
wunder@best.com (home)
http://www.best.com/~wunder/
1-408-543-6946