blob: 7ed6e11ae82c3470d5ff0710e419a5f64fbf874e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?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 "Man &myfirst; and &myfirst; mymiddle;.">
]>
<!-- testing AttValue with references combination in double quotes -->
<student first="Full Name &myfirst; 1 and &mylast; &mylast; c" last="&mylast;" >My first Name is &myfirst; and my last name is &mylast;. </student>
|