From 06198fa8ea4d0ec3c2d278e91616776aa461df76 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Fri, 3 Mar 2006 08:03:41 +0000 Subject: [PATCH] Added class/otherclass semantics to othercredit --- docbook/relaxng/docbook/src/pool.rnc | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) 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 } -- 2.40.0