blob: c7e9e5ecd0a4c5b52237e342281ba15019ef1d9a (
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 "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>
|