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 # nickname 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 = glepindex | abstract | author | values | metadoc | license | included | summary | dynamic