summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-04-05 22:28:57 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-04-05 22:28:57 +0200
commite85b5383b314ea8259de0e250e56f52ec44bd90e (patch)
tree7cb8ba5d5f7b35f1710535649af845d45bb3b295 /book.rnc
parentFix year. (diff)
downloadnxml-gentoo-schemas-e85b5383b314ea8259de0e250e56f52ec44bd90e.tar.gz
nxml-gentoo-schemas-e85b5383b314ea8259de0e250e56f52ec44bd90e.tar.bz2
nxml-gentoo-schemas-e85b5383b314ea8259de0e250e56f52ec44bd90e.zip
Update for new DTDs.
Diffstat (limited to 'book.rnc')
-rw-r--r--book.rnc14
1 files changed, 11 insertions, 3 deletions
diff --git a/book.rnc b/book.rnc
index 8ede8da..ebec9f6 100644
--- a/book.rnc
+++ b/book.rnc
@@ -28,10 +28,18 @@ sections =
}
sections.attlist &= empty
section =
- element section { section.attlist, title, (body+ | subsection+) }
-subsection = element subsection { subsection.attlist, title?, body+ }
+ element section {
+ section.attlist,
+ (\include
+ | (title, (body+ | subsection+)))
+ }
+subsection =
+ element subsection {
+ subsection.attlist,
+ (\include | (title?, body+))
+ }
subsection.attlist &=
attribute id { text }?,
attribute test { text }?
-body = element body { body.attlist, block.class+ }
+body = element body { body.attlist, (\include | block.class+) }
start = glepindex | book | included | sections | summary