blob: 6b6c45eee019a5801756a7ea200d8a7ea3eb9072 (
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 single quote -->
<student first='&myfirst;' last='&mylast;'>My Name is &mylast;. </student>
|