<?xml version="1.0"?>
<!DOCTYPE student [
<!ELEMENT student (#PCDATA)>
<!ATTLIST student
first CDATA #REQUIRED
middle CDATA #IMPLIED
last CDATA #REQUIRED >
<!ENTITY myfirst "Snow">
<!ENTITY mymiddle "I">
<!ENTITY mylast 'Man &myfirst; and &myfirst; mymiddle;.'>
]>
<!-- testing AttValue with references combination in single quote -->
<student first='Full Name &myfirst; and "&mylast;" &mylast;' last='&mylast;'>My first Name is &myfirst; and my last name is &mylast;. </student>
|