summaryrefslogtreecommitdiff
blob: 481587ce19661c61a360e2b25efd2b4d813a509d (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
include "common.rnc"
metadoc =
  element metadoc {
    metadoc.attlist, version, members, categories, files, docs
  }
metadoc.attlist &=
  attribute lang { text },
  attribute parent { text }?
members = element members { members.attlist, lead*, member* }
members.attlist &= empty
lead = element lead { lead.attlist, text* }
lead.attlist &= empty
# <lead>nickname</lead>
member = element member { member.attlist, text* }
member.attlist &=
  attribute mail { text }?,
  attribute fullname { text }?
categories = element categories { categories.attlist, cat* }
categories.attlist &= empty
cat = element cat { cat.attlist, text* }
cat.attlist &=
  attribute id { text },
  attribute parent { text }?
files = element files { files.attlist, file* }
files.attlist &= empty
file = element file { file.attlist, text* }
file.attlist &= attribute id { xsd:ID }
docs = element docs { docs.attlist, doc* }
docs.attlist &= empty
doc = element doc { doc.attlist, memberof*, bookref?, bugs? }
doc.attlist &= attribute fileid { text }
memberof = element memberof { memberof.attlist, text* }
memberof.attlist &= empty
bookref = element bookref { bookref.attlist, empty }
bookref.attlist &=
  attribute vpart { text }?,
  attribute vchap { text }?
bugs = element bugs { bugs.attlist, bug* }
bugs.attlist &= empty
bug = element bug { bug.attlist, text* }
bug.attlist &=
  attribute stopper { "yes" | "no" }?,
  attribute arch { text }?
dynamic =
  element dynamic {
    dynamic.attlist,
    version?,
    title,
    intro?,
    (listing | catid* | overview)
  }
dynamic.attlist &= attribute metadoc { text }
intro = element intro { intro.attlist, section* }
intro.attlist &= empty
# Section stuff copy/pasted from guide.dtd
listing = element listing { listing.attlist, \list* }
listing.attlist &= empty
\list = element list { list.attlist, text* }
list.attlist &= empty
catid = element catid { catid.attlist, text* }
catid.attlist &= empty
overview = element overview { overview.attlist, empty }
overview.attlist &= empty
section =
  element section {
    section.attlist,
    (\include | (title?, body+))
  }
body = element body { body.attlist, (\include | block.class+) }
chapter |= notAllowed
start =
  dynamic
  | author
  | license
  | values
  | included
  | summary
  | metadoc
  | abstract
  | glepindex