SGML

Name Token Examples

nmtoken-reuse/nmtoken-reuse.sgm

SP balks (rightly) about tokens TRUE and FALSE occuring more than once

nmtoken-reuse/nmtoken-reuse-websgml.sgm
... but not when using WebSGML

nmtoken-reuse/nmtoken-reuse.sgm

<!DOCTYPE test [
	<!ELEMENT test - - (sub+)>
	<!ELEMENT sub - - (subsub+)>
	<!ELEMENT subsub - - ANY>
	<!ATTLIST subsub flag (true|false) #IMPLIED otherflg (true|false) #IMPLIED>
]>
<test><sub><subsub flag="false" otherflg="true">blabla</subsub></sub></test>

nmtoken-reuse/nmtoken-reuse-websgml.sgm

<!SGML "ISO 8879:1986 (WWW)"
	CHARSET BASESET "ISO 646:1983//CHARSET International Reference Version (IRV)//ESC 2/5 4/0"
	DESCSET
		0 9 UNUSED
		9 2 9
		11 2 UNUSED
		13 1 13
		14 18 UNUSED
		32 95 32
		127 1 UNUSED
	CAPACITY PUBLIC "ISO 8879:1986//CAPACITY Reference//EN"
	SCOPE DOCUMENT
	SYNTAX PUBLIC "ISO 8879:1986//SYNTAX Reference//EN"
	FEATURES
		MINIMIZE
			DATATAG NO
			OMITTAG YES
			RANK NO
			SHORTTAG YES
		LINK
			SIMPLE NO
			IMPLICIT NO
			EXPLICIT NO
		OTHER
			CONCUR NO
			SUBDOC NO
			FORMAL NO
	APPINFO NONE
>
<!DOCTYPE test [
	<!ELEMENT test - - (sub+)>
	<!ELEMENT sub - - (subsub+)>
	<!ELEMENT subsub - - ANY>
	<!ATTLIST subsub flag (true|false) #IMPLIED otherflg (true|false) #IMPLIED>
]>
<test><sub><subsub flag="false" otherflg="true">blabla</subsub></sub></test>