<!DOCTYPE doc [
<!NOTATION na SYSTEM >
<!NOTATION nb SYSTEM "abc" >
<!NOTATION nc PUBLIC "-//EDF-DER//NOTATION nn//FR" >
<!NOTATION nd PUBLIC "-//EDF-DER//NOTATION nn//FR" "abc" >
<!ATTLIST #NOTATION (na|nb) attr1 CDATA #REQUIRED
							   attr2 NAME #IMPLIED >
<!ENTITY eia "aaa" >
<!ENTITY eib CDATA "aaa" >
<!ENTITY eic SDATA "bbb" >
<!ENTITY exa SYSTEM "abc" NDATA na [attr1="toto"] >
<!ENTITY exb SYSTEM "abc" SDATA na >
<!ENTITY exc SYSTEM "abc" CDATA na >
<!ENTITY exd SYSTEM "abc" SUBDOC >
<!ENTITY #DEFAULT SDATA "def" >
<!ELEMENT doc - - (a,b) >
<!ELEMENT (a,b) - - ANY >
<!ATTLIST (doc|a) attr1 ID #IMPLIED
					  attr2 (a|b) b
					  attr3 CDATA "abc&eic;def"
					  attr4 (k|l|t) L
					  attr5 NOTATION (nc|nd) nd >
]>
<doc attr1=id1 attr3="abc&eic;def">
<a attr1=id2></a><b></b>
</doc>