<!-- block and inline elements -->

<!ENTITY % inline "#PCDATA|br|em|extref|Exult|kbd|key|q|ref|ref1|section_ref|strong|Studio|Pentagram|img|TM" >

<!ENTITY % lists "ul|ol" >

<!ENTITY % block "cite|configdesc|keytable|para|%lists;" >


<!-- ****************** elements ****************** -->
<!ELEMENT faqs (section*)>
<!ELEMENT readme (section*)>
<!ELEMENT studiodoc (section*)>
<!ELEMENT section (sub*)>
<!ELEMENT sub (header, body)>
<!ELEMENT header (#PCDATA|Exult|Studio|Pentagram)*>
<!ELEMENT body (%block;)*>

<!ELEMENT para ( %inline; )*>
<!ELEMENT cite ( %inline; )*>
<!ELEMENT ol (li)*>
<!ELEMENT ul (li)*>
<!ELEMENT li ( %inline; )*>

<!ELEMENT key (#PCDATA)>
<!ELEMENT kbd (#PCDATA|TM)*>
<!ELEMENT strong (#PCDATA)>
<!ELEMENT em (#PCDATA)*>

<!ELEMENT ref (#PCDATA)>
<!ELEMENT ref1 (#PCDATA)>
<!ELEMENT section_ref (#PCDATA)>
<!ELEMENT extref (#PCDATA)>

<!ELEMENT img (#PCDATA)>

<!ELEMENT q (#PCDATA)>

<!-- Empty elements -->
<!ELEMENT br EMPTY>
<!ELEMENT Exult (#PCDATA)>
<!ELEMENT Studio (#PCDATA)>
<!ELEMENT Pentagram (#PCDATA)>
<!ELEMENT TM (#PCDATA)>

<!ELEMENT configdesc (configtag*)>
<!ELEMENT comment (#PCDATA|ref|key|q|Exult|extref)*>
<!ENTITY % manual "">
<!ELEMENT configtag (#PCDATA|configtag|comment %manual;)*>

<!ELEMENT keytable (keydesc)*>
<!ELEMENT keydesc (#PCDATA)>

<!-- ****************** attributes ****************** -->
<!ATTLIST	faqs		title	CDATA	#REQUIRED>
<!ATTLIST	faqs		changed	CDATA	"">
<!ATTLIST	readme		title	CDATA	#REQUIRED>
<!ATTLIST	readme		changed	CDATA	"">
<!ATTLIST	studiodoc		title	CDATA	#REQUIRED>
<!ATTLIST	studiodoc		changed	CDATA	"">
<!ATTLIST	section		title	CDATA	#REQUIRED>

<!ATTLIST	sub		name	CDATA	"">
<!ATTLIST	cite		name	CDATA	"">
<!ATTLIST	keytable	title	CDATA	#REQUIRED>
<!ATTLIST	keydesc		name	CDATA	"">

<!ATTLIST	ref		target	CDATA	#REQUIRED>
<!ATTLIST	ref1		target	CDATA	#REQUIRED>
<!ATTLIST	section_ref		target	CDATA	#REQUIRED>
<!ATTLIST	extref		target	CDATA	#REQUIRED>
<!ATTLIST	extref		doc	(faq|docs|studio)	#IMPLIED>
<!ATTLIST	img		src 	CDATA	#REQUIRED>
<!ATTLIST	img		alt 	CDATA	#REQUIRED>

<!ATTLIST	configtag	name	CDATA	#REQUIRED>
<!ATTLIST	configtag	manual	(true|false)	#IMPLIED>
<!ATTLIST	configtag	closing-tag (yes|no) "yes">
