]> granicus.if.org Git - docbook-dsssl/commitdiff
Added biblioref
authorNorman Walsh <ndw@nwalsh.com>
Tue, 25 May 2004 11:25:23 +0000 (11:25 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Tue, 25 May 2004 11:25:23 +0000 (11:25 +0000)
docbook/relaxng/src/bibliography.rnc

index df5db2da0bff707e600fb86a8f6fb9242c0b4287..ff49e862c12acbf880b0db806657ab9f07e61183 100644 (file)
@@ -22,6 +22,8 @@ list.blocks |= db.bibliolist
 
 info.elements |= db.bibliomisc | db.bibliomset | db.bibliorelation | db.biblioset
 
+link.inlines |= db.biblioref
+
 relation.attribute = attribute relation { text }
 
 # ======================================================================
@@ -250,4 +252,32 @@ div {
       }
 }
 
+# ======================================================================
+
+[
+   db:refname [ "biblioref" ]
+   db:refpurpose [ "" ]
+]
+div {
 
+   local.biblioref.attributes = empty
+
+   biblioref.role.attribute = attribute role { text }
+
+   biblioref.attlist =
+      biblioref.role.attribute?
+    & common.attributes
+    & common.linking.attributes
+    & attribute xrefstyle { text }?
+    & attribute endterm { xsd:IDREF }?
+    & attribute units { xsd:token }?
+    & attribute begin {xsd:token }?
+    & attribute end { xsd:token }?
+    & local.biblioref.attributes
+
+   db.biblioref =
+      element biblioref {
+         biblioref.attlist,
+         empty
+      }
+}