| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0"?><?TEST-STYLE PIDATA?> | |
| 2 <!DOCTYPE staff SYSTEM "staff.dtd" [ | |
| 3 <!ENTITY ent1 "es"> | |
| 4 <!ENTITY ent2 "1900 Dallas Road"> | |
| 5 <!ENTITY ent3 "Texas"> | |
| 6 <!ENTITY ent4 "<entElement domestic='Yes'>Element data</entElement><?PItarget
PIdata?>"> | |
| 7 <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1> | |
| 8 <!ENTITY ent1 "This entity should be discarded"> | |
| 9 <!NOTATION notation1 PUBLIC "notation1File"> | |
| 10 <!NOTATION notation2 SYSTEM "notation2File"> | |
| 11 ]> | |
| 12 <!-- This is comment number 1.--> | |
| 13 <staff> | |
| 14 <employee> | |
| 15 <employeeId>EMP0001</employeeId> | |
| 16 <name>Margaret Martin</name> | |
| 17 <position>Accountant</position> | |
| 18 <salary>56,000</salary> | |
| 19 <gender>Female</gender> | |
| 20 <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> | |
| 21 </employee> | |
| 22 <employee> | |
| 23 <employeeId>EMP0002</employeeId> | |
| 24 <name>Martha Raynolds<![CDATA[This is a CDATASection with EntityReference numb
er 2 &ent2;]]> | |
| 25 <![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></na
me> | |
| 26 <position>Secretary</position> | |
| 27 <salary>35,000</salary> | |
| 28 <gender>Female</gender> | |
| 29 <address domestic="Yes" street="Yes">&ent2; Dallas, &ent3; | |
| 30 98554</address> | |
| 31 </employee> | |
| 32 <employee> | |
| 33 <employeeId>EMP0003</employeeId> | |
| 34 <name>Roger | |
| 35 Jones</name> | |
| 36 <position>Department Manager</position> | |
| 37 <salary>100,000</salary> | |
| 38 <gender>&ent4;</gender> | |
| 39 <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address> | |
| 40 </employee> | |
| 41 <employee> | |
| 42 <employeeId>EMP0004</employeeId> | |
| 43 <name>Jeny Oconnor</name> | |
| 44 <position>Personnel Director</position> | |
| 45 <salary>95,000</salary> | |
| 46 <gender>Female</gender> | |
| 47 <address domestic="Yes" street="Y&ent1;">27 South Road. Dallas, Texas 98556</a
ddress> | |
| 48 </employee> | |
| 49 <employee> | |
| 50 <employeeId>EMP0005</employeeId> | |
| 51 <name>Robert Myers</name> | |
| 52 <position>Computer Specialist</position> | |
| 53 <salary>90,000</salary> | |
| 54 <gender>male</gender> | |
| 55 <address street="Yes">1821 Nordic. Road, Irving Texas 98558</address> | |
| 56 </employee> | |
| 57 </staff> | |
| OLD | NEW |