blob: 47b32c5d23052d04be40270fa822e709b4a48133 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?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 "Y">
<!ENTITY mylast "&myfirst; Man">
]>
<!-- testing AttValue with a reference in double quote -->
<student first="&myfirst;" last="mylast;">My Name is &mylast;. </student>
|