]> granicus.if.org Git - docbook-dsssl/commitdiff
Customizations
authorNorman Walsh <ndw@nwalsh.com>
Fri, 9 Jan 2004 12:35:51 +0000 (12:35 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 9 Jan 2004 12:35:51 +0000 (12:35 +0000)
docbook/relaxng/tests/customizations/dbastro.rnc [new file with mode: 0644]
docbook/relaxng/tests/customizations/dbsmall.rnc [new file with mode: 0644]

diff --git a/docbook/relaxng/tests/customizations/dbastro.rnc b/docbook/relaxng/tests/customizations/dbastro.rnc
new file mode 100644 (file)
index 0000000..37c3f71
--- /dev/null
@@ -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, <ndw@nwalsh.com>
+# 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 (file)
index 0000000..25ea340
--- /dev/null
@@ -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, <ndw@nwalsh.com>
+# 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"
+