From: Norman Walsh Date: Tue, 25 May 2004 11:25:23 +0000 (+0000) Subject: Added biblioref X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a0ed91cada93e93783380431098a133e5eb9a1d;p=docbook-dsssl Added biblioref --- 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 + } +}