1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
include "common.rnc"
book =
element book {
book.attlist,
title,
values?,
author+,
abstract,
license?,
version,
date,
part+
}
book.attlist &=
attribute link { text }?,
attribute disclaimer {
"articles" | "oldbook" | "draft" | "obsolete"
}?,
attribute lang { text }?
part = element part { part.attlist, title, abstract, chapter+ }
part.attlist &= attribute id { text }?
chapter =
element chapter { chapter.attlist, title, abstract?, \include }
chapter.attlist &= attribute id { text }?
sections =
element sections {
sections.attlist, abstract?, version, date, section+
}
sections.attlist &= empty
section =
element section { section.attlist, title, (body+ | subsection+) }
section.attlist &=
attribute id { text }?,
attribute test { text }?
subsection = element subsection { subsection.attlist, title?, body+ }
subsection.attlist &=
attribute id { text }?,
attribute test { text }?
body = element body { body.attlist, block.class+ }
body.attlist &= attribute test { text }?
note.attlist &= attribute test { text }?
impo.attlist &= attribute test { text }?
warn.attlist &= attribute test { text }?
pre.attlist &= attribute test { text }?
p.attlist &= attribute test { text }?
table.attlist &= attribute test { text }?
tr.attlist &= attribute test { text }?
ul.attlist &= attribute test { text }?
ol.attlist &= attribute test { text }?
li.attlist &= attribute test { text }?
\include = element include { include.attlist, empty }
include.attlist &= attribute href { text }
start = glepindex | book | sections | summary
|