From: Norman Walsh Date: Fri, 9 Jan 2004 12:35:51 +0000 (+0000) Subject: Customizations X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bed576b0ffa43bb9d345f73090c1e60df755c8fa;p=docbook-dsssl Customizations --- diff --git a/docbook/relaxng/tests/customizations/dbastro.rnc b/docbook/relaxng/tests/customizations/dbastro.rnc new file mode 100644 index 000000000..37c3f71fe --- /dev/null +++ b/docbook/relaxng/tests/customizations/dbastro.rnc @@ -0,0 +1,33 @@ +# This file is part of DocBook NG: The "Absinthe" Release. + +# This schema is a "work-in-progress". It validates a DocBook-like grammar that +# may, in some incarnation, form the basis for DocBook V.next. Or it may not. +# At the moment, it's just an exploration by Norm. It has utterly no normative +# value at all. +# +# Author: Norman Walsh, +# Source: Derived from DocBook XML V4.3 +# Release: $Id$ +# +# ====================================================================== + +namespace ctrl = "http://nwalsh.com/xmlns/schema-control/" + +start = db.article + +include "../../src/hier.rnc" +include "../../src/pool.rnc" { + domain.inlines = db.planet | db.star + product.inlines = db.trademark + admonition.blocks = notAllowed + technical.blocks = notAllowed + verbatim.blocks = notAllowed + db.bridgehead = notAllowed + db.revhistory = notAllowed +} +include "../../src/htmltbl.rnc" +include "../../src/mathml.rnc" +include "../../src/svg.rnc" + +db.planet = element planet { docbook.text } +db.star = element star { docbook.text } diff --git a/docbook/relaxng/tests/customizations/dbsmall.rnc b/docbook/relaxng/tests/customizations/dbsmall.rnc new file mode 100644 index 000000000..25ea3402b --- /dev/null +++ b/docbook/relaxng/tests/customizations/dbsmall.rnc @@ -0,0 +1,29 @@ +# This file is part of DocBook NG: The "Absinthe" Release. + +# This schema is a "work-in-progress". It validates a DocBook-like grammar that +# may, in some incarnation, form the basis for DocBook V.next. Or it may not. +# At the moment, it's just an exploration by Norm. It has utterly no normative +# value at all. +# +# Author: Norman Walsh, +# Source: Derived from DocBook XML V4.3 +# Release: $Id$ +# +# ====================================================================== + +namespace ctrl = "http://nwalsh.com/xmlns/schema-control/" + +start = db.set + | db.book + | divisions + | components + | navigation.components + | db.section + | db.para + +include "../../src/hier.rnc" +include "../../src/pool.rnc" +include "../../src/calstbl.rnc" +include "../../src/mathml.rnc" +include "../../src/svg.rnc" +