summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'devbook.rnc')
-rw-r--r--devbook.rnc8
1 files changed, 4 insertions, 4 deletions
diff --git a/devbook.rnc b/devbook.rnc
index 06b5f5b..0097a97 100644
--- a/devbook.rnc
+++ b/devbook.rnc
@@ -14,9 +14,9 @@ attrib = attrib.class*
inline = inline.class*
all = (block.class | inline.class)*
-start = guide
+start = devbook
-guide = element guide {
+devbook = element devbook {
(attribute root { "true" } | attribute self { text }),
chapter,
\include*
@@ -33,7 +33,7 @@ subsubsection = element subsubsection { title, body }
# Title texts are used as anchors, so allow only text attributes
title = element title { attrib }
-body = element body { (authors | contentsTree | block.class)+ }
+body = element body { (authors | contents | block.class)+ }
authors = element authors { author+ | authorlist+ }
@@ -48,7 +48,7 @@ authorlist = element authorlist {
attribute href { text }
}
-contentsTree = element contentsTree {
+contents = element contents {
attribute maxdepth { xsd:unsignedInt }?,
attribute root { text }?,
attribute extraction { text }?