[XML-SIG] Useless fun thing for XML - comments or helpers?

James Tauber jtauber@jtauber.com
Fri, 4 Sep 1998 13:33:04 +0800


>>>3) In XML there are no standard ways of specifying lexical structure in
>>>PCDATA (yet).

That's not *entirely* true. You can use notation attributes.

>  <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"/>

The best would be something similar to the third one:

<date scheme="iso-8601">2005-12-01</date>

where scheme is a notation attribute and iso-8601 is a notation referencing
the ISO standard.

James
--
James Tauber / jtauber@jtauber.com      http://www.jtauber.com/
Lecturer and Associate Researcher
Electronic Commerce Network             ( http://www.xmlinfo.com/
Curtin Business School                  ( http://www.xmlsoftware.com/
Perth, Western Australia                ( http://www.schema.net/