From: Norman Walsh Date: Fri, 3 Mar 2006 08:03:41 +0000 (+0000) Subject: Added class/otherclass semantics to othercredit X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06198fa8ea4d0ec3c2d278e91616776aa461df76;p=docbook-dsssl Added class/otherclass semantics to othercredit --- diff --git a/docbook/relaxng/docbook/src/pool.rnc b/docbook/relaxng/docbook/src/pool.rnc index 3b325eb95..d1aa8a5b7 100644 --- a/docbook/relaxng/docbook/src/pool.rnc +++ b/docbook/relaxng/docbook/src/pool.rnc @@ -4722,6 +4722,10 @@ div { ] div { + ctrl:other-attribute [ name="db.othercredit.class.attribute" + enum-name="db.othercredit.class-enum.attribute" + other-name="db.othercredit.class-other.attributes" ] + db.othercredit.class.enumeration = ## A copy editor "copyeditor" @@ -4736,11 +4740,31 @@ div { | ## A translator "translator" - db.othercredit.class.attribute = + db.othercredit.class-enum.attribute = + [ + db:refpurpose [ "Identifies the nature of the contributor" ] + ] + attribute class { db.othercredit.class.enumeration } ? + + db.othercredit.class-other.attribute = + [ + db:refpurpose [ "Identifies the nature of the non-standard contribution" ] + ] + attribute otherclass { xsd:NMTOKEN } + + db.othercredit.class-other.attributes = [ db:refpurpose [ "Identifies the nature of the contributor" ] ] - attribute class { db.othercredit.class.enumeration } + attribute class { + ## Identifies a non-standard contribution + "other" + } + & db.othercredit.class-other.attribute + + db.othercredit.class.attribute = + (db.othercredit.class-enum.attribute + | db.othercredit.class-other.attributes) db.othercredit.role.attribute = attribute role { text }