diff options
Diffstat (limited to 'book.rnc')
-rw-r--r-- | book.rnc | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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 |