diff --git a/odds/odd2dtd.xsl b/odds/odd2dtd.xsl
index 36ab98211..62df4dc82 100644
--- a/odds/odd2dtd.xsl
+++ b/odds/odd2dtd.xsl
@@ -1519,9 +1519,9 @@ of this software, even if advised of the possibility of such damage.
-
-
-
+
+
+
-
-
-
+
+
+
@@ -1854,9 +1854,9 @@ of this software, even if advised of the possibility of such damage.
-
-
-
+
+
+
@@ -1888,22 +1888,6 @@ of this software, even if advised of the possibility of such damage.
-
-
-
-
-
-
-
-
- *
- ?
- *
- +
-
-
-
-
diff --git a/odds/teiodds.xsl b/odds/teiodds.xsl
index 6990b6ae7..366507105 100644
--- a/odds/teiodds.xsl
+++ b/odds/teiodds.xsl
@@ -329,7 +329,8 @@ of this software, even if advised of the possibility of such damage.
-
+
+
@@ -1489,9 +1490,9 @@ select="$makeDecls"/>
-
-
-
+
+
+
@@ -2067,7 +2068,8 @@ select="$makeDecls"/>
-
+
+
@@ -2099,7 +2101,8 @@ select="$makeDecls"/>
-
+
+
@@ -2122,8 +2125,12 @@ select="$makeDecls"/>
+
+
+
-
+
+
@@ -2203,9 +2210,6 @@ select="$makeDecls"/>
-
-
-
@@ -2258,27 +2262,46 @@ select="$makeDecls"/>
-
-
-
-
-
-
-
+
+
+ “normalized minimum and maximum occurences”, pronounced almost as “Norman Max”
+ Input: an element node, theoretically a member of att.repeatable
+ Output: a sequence of 4 items:
+
+ - 1) minOccurs as an integer
+ - 2) maxOccurs as an integer, with -1 for "unbounded"
+ - 3) a string that conforms to xs:NCName, the name of the RELAX NG element that
+ should be used to generate this number of occurences, if any; one of "optional",
+ "oneOrMore", "zeroOrMore", or '' (the empty string)
+ - 4) a 0- or 1-character long string, the occurence
+ indicator that should be used to generate this number of
+ occurences in a DTD, if any; one of '?', '+', '*', or ''
+ (the empty string)
+
+
+
+
+
+
-
+
-
+
-
-
+
+
+
- The default value of @maxOccurs is 1. You cannot have a @minOccurs greater than the @maxOccurs.
-
+
+ The default value of @maxOccurs is 1. You cannot have a @minOccurs greater than the @maxOccurs.
+
+
+
+
@@ -2287,27 +2310,33 @@ select="$makeDecls"/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- optional
- oneOrMore
- zeroOrMore
-
-
+
+
+
+ optional
+ oneOrMore
+ zeroOrMore
+
+
+
+
+
+
+ *
+ ?
+ *
+ +
+
+
+
+