diff dtd/hymn.mod @ 0:bca6df27dbfd

mostly unchanged from http://www.cc.org/dtd
author ht
date Sat, 19 Jan 2008 22:54:40 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dtd/hymn.mod	Sat Jan 19 22:54:40 2008 +0000
@@ -0,0 +1,81 @@
+<!-- 
+    Support for hymnals.  This is a module that can be added ot 
+    the ThML and the voyager DTD for HTML.
+
+    Harry Plantinga, November 29, 1999
+
+    Modified by whp 2004-06-21, added pb to hymn element
+    Modified by whp, 2002-08-20: add copyright element
+    Modified by whp, 2007-06-13: (version 1.08)
+	  - add copyright attribute to music element
+	  - delete incipit as element. Just use the tune attribute
+	  - allow images in hymns
+        - allow <p> in <verse>
+    Modified by whp, 2007-10-05, while building hymnary.
+	  - added source element, part of hymn or tune
+      - author: added fullname, name
+      - tune: drop name (use title)
+	    - added key for key sig (D flat, etc)
+      - composer:
+	    - deleted authorID (still have composerID)
+		- deleted pub, loc, source atts (use source element)
+		- added fullname, name; deleted life
+-->
+
+<!ELEMENT hymn (title | meter | author | source | date | copyright | argument | tune |
+                verse | index | scripRef | scripCom | p | h1 | h2 |
+                h3 | h4 | h5 | h6 | blockquote | hr | table | note | pb | img)+>
+<!ATTLIST hymn %attrs;
+    firstline  CDATA  #IMPLIED
+    n          CDATA  #IMPLIED>
+
+<!ELEMENT meter %Inline;>
+<!ATTLIST meter %attrs;
+    standard   CDATA  #IMPLIED>
+
+<!ELEMENT copyright %Inline;>
+<!ATTLIST copyright %attrs;
+    year	CDATA #IMPLIED>
+
+<!ELEMENT source %Inline;>
+<!ATTLIST source %attrs;
+    date       CDATA  #IMPLIED>
+
+<!ELEMENT author %Inline;>
+<!ATTLIST author %attrs;
+    type       CDATA  #IMPLIED
+    act        CDATA  #IMPLIED
+    language   CDATA  #IMPLIED
+    date       CDATA  #IMPLIED
+    authorID   CDATA  #IMPLIED
+    fullname   CDATA  #IMPLIED
+    name       CDATA  #IMPLIED>
+
+<!-- the tune element is not to be displayed on a book page. -->
+<!ELEMENT tune (composer | source | music | date | meter | title | copyright)*>
+<!ATTLIST tune %attrs;
+    incipit    CDATA  #IMPLIED
+    meter      CDATA  #IMPLIED
+	key        CDATA  #IMPLIED
+    tuneID     CDATA  #IMPLIED>
+
+<!ELEMENT composer %Inline;>
+<!ATTLIST composer %attrs;
+    type       CDATA  #IMPLIED
+    act        CDATA  #IMPLIED
+    date       CDATA  #IMPLIED
+    composerID CDATA  #IMPLIED
+    fullname   CDATA  #IMPLIED
+    name       CDATA  #IMPLIED>
+
+<!ELEMENT music EMPTY>
+<!ATTLIST music %attrs;
+    type       CDATA  #IMPLIED
+    inline     (yes|no) "no"
+    actuate    (auto|man) "man"
+    copyright  CDATA #IMPLIED
+    href       %URI;   #REQUIRED>
+
+<!ENTITY % block.hymn "| hymn">
+
+