[Refdb-devel] CVS: refdb/dtd xnote.dtd,1.1,1.2
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2003-12-21 22:57:26
|
Update of /cvsroot/refdb/refdb/dtd In directory sc8-pr-cvs1:/tmp/cvs-serv31289/dtd Modified Files: xnote.dtd Log Message: bumped up version number; changed note element to content; demoted date to an attribute of xnote; added type and xml:lang attributes to content Index: xnote.dtd =================================================================== RCS file: /cvsroot/refdb/refdb/dtd/xnote.dtd,v retrieving revision 1.1 retrieving revision 1.2 diff -u -U2 -r1.1 -r1.2 --- xnote.dtd 29 Oct 2003 22:03:56 -0000 1.1 +++ xnote.dtd 21 Dec 2003 22:57:22 -0000 1.2 @@ -4,5 +4,5 @@ <!-- Invoke with the following declaration --> -<!-- <!DOCTYPE xnoteset PUBLIC "-//Markus Hoenicka//DTD Xnote V1.0//EN" "http://refdb.sourceforge.net/dtd/xnote-1.0/xnote.dtd"> --> +<!-- <!DOCTYPE xnoteset PUBLIC "-//Markus Hoenicka//DTD Xnote V1.1//EN" "http://refdb.sourceforge.net/dtd/xnote-1.1/xnote.dtd"> --> <!-- the top-level element, containing one or more extended notes --> @@ -10,23 +10,19 @@ <!-- this element describes one extended note --> -<!ELEMENT xnote (title?, date?, note, keyword*, link*)> +<!-- todo: demote date to an attribute and use YYYY-MM-DD notation? --> +<!ELEMENT xnote (title?, content, keyword*, link*)> <!ATTLIST xnote id NMTOKEN #IMPLIED citekey NMTOKEN #IMPLIED - user NMTOKEN #IMPLIED> + user NMTOKEN #IMPLIED + date NMTOKEN #IMPLIED> <!-- the optional title of a note --> <!ELEMENT title (#PCDATA)> -<!-- the optional date of a note --> -<!ELEMENT date (year?, month?, day?)> +<!-- the contents of the note --> +<!ELEMENT content ANY> -<!ELEMENT year (#PCDATA)> - -<!ELEMENT month (#PCDATA)> - -<!ELEMENT day (#PCDATA)> - -<!-- the note proper --> -<!ELEMENT note (#PCDATA)> +<!ATTLIST content type CDATA #IMPLIED + xml:lang CDATA #IMPLIED> <!-- keyword for indexing purposes --> |