namespace s = "http://www.ascc.net/xml/schematron"
namespace db = "http://docbook.org/docbook-ng"
namespace dbx = "http://sourceforge.net/projects/docbook/defguide/schema/extra-markup"
+namespace dtd = "http://relaxng.org/ns/compatibility/annotations/1.0"
namespace xlink = "http://www.w3.org/1999/xlink"
default namespace = "http://docbook.org/docbook-ng"
db.href.attribute =
attribute xlink:href { text }
- & attribute xlink:type { "simple" }?
+ & [ dtd:defaultValue="simple" ] attribute xlink:type { "simple" }?
& attribute xlink:role { xsd:anyURI }?
& attribute xlink:arcrole { xsd:anyURI }?
& attribute xlink:title { text }?
namespace s = "http://www.ascc.net/xml/schematron"
namespace db = "http://docbook.org/docbook-ng"
namespace xlink = "http://www.w3.org/1999/xlink"
+namespace dtd = "http://relaxng.org/ns/compatibility/annotations/1.0"
default namespace = "http://docbook.org/docbook-ng"
db.info.elements |= db.extendedlink
db.extendedlink.attlist =
db.extendedlink.role.attribute?
& db.common.attributes
- & attribute xlink:type { "extended" }?
+ & [ dtd:defaultValue="extended" ] attribute xlink:type { "extended" }?
& attribute xlink:role { xsd:anyURI }?
& attribute xlink:title { text }?
db.locator.attlist =
db.locator.role.attribute?
& db.common.attributes
- & attribute xlink:type { "locator" }?
+ & [ dtd:defaultValue="locator" ] attribute xlink:type { "locator" }?
& attribute xlink:href { text }
& attribute xlink:role { xsd:anyURI }?
& attribute xlink:title { text }?
db.arc.attlist =
db.arc.role.attribute?
& db.common.attributes
- & attribute xlink:type { "arc" }?
+ & [ dtd:defaultValue="arc" ] attribute xlink:type { "arc" }?
& attribute xlink:arcrole { xsd:anyURI }?
& attribute xlink:title { text }?
& attribute xlink:show { "new" | "replace" | "embed" | "other" }?