From 0a0ed91cada93e93783380431098a133e5eb9a1d Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Tue, 25 May 2004 11:25:23 +0000 Subject: [PATCH] Added biblioref --- docbook/relaxng/src/bibliography.rnc | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docbook/relaxng/src/bibliography.rnc b/docbook/relaxng/src/bibliography.rnc index df5db2da0..ff49e862c 100644 --- a/docbook/relaxng/src/bibliography.rnc +++ b/docbook/relaxng/src/bibliography.rnc @@ -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 + } +} -- 2.40.0