Sub-files of various external entities:
External generic Entity A. xml
<? Xml version = "1.0" encoding = "gb2312"?>
<Instructor>
<Name> Bai Yan </Name>
<QQ> 12345678 </QQ>
<Mobile phone> 13514573840 </mobile phone>
<Email> zhousuaige@csuinfosoft.com </Email>
</Instructor>
External generic Entity B. xml
<? Xml version = "1.0" encoding = "GB2312"?>
<Instructor>
<Name> Chen </Name>
<QQ> 66778899 </QQ>
<Mobile phone> 1334567890 </mobile phone>
<Email> chendia@csuinfosoft.com </Email>
</Instructor>
<Instructor>
<Name> Ma Yun </Name>
<QQ> 77889900 </QQ>
<Mobile phone> 13234565793 </mobile phone>
<Email> madia@csuinfosoft.com </Email>
</Instructor>
<Instructor>
<Name> dish </Name>
<QQ> 664538899 </QQ>
<Mobile phone> 13234567890 </mobile phone>
<Email> caicai@csuinfosoft.com </Email>
</Instructor>
<Instructor>
<Name> handsome Zhou </Name>
<QQ> 12345678 </QQ>
<Mobile phone> 13514573840 </mobile phone>
<Email> zhousuaige@csuinfosoft.com </Email>
</Instructor>
External common entity C. xml
<? Xml version = "1.0" encoding = "GB2312"?>
<Name> dish </Name>
<QQ> 664538899 </QQ>
<Mobile phone> 13234567890 </mobile phone>
<Email> caicai@csuinfosoft.com </Email>
</Instructor>
<Instructor>
<Name> handsome Zhou </Name>
<QQ> 12345678 </QQ>
<Mobile phone> 13514573840 </mobile phone>
<Email> zhousuaige@csuinfosoft.com </Email>
</Instructor>
Joint call of external common entities. xml
<? Xml version = "1.0" encoding = "gb2312"?>
<! DOCTYPE bedroom member [
<! ENTITY Table 1 SYSTEM "external common entity a. xml">
<! ENTITY Table 2 SYSTEM "external common entity B. xml">
<! ENTITY Table 3 SYSTEM "external common entity c. xml">
]>
<Bedroom member>
& Table 1;
& Table 2;
& Table 3;
</Bedroom member>
Custom object reference. xml
<? Xml version = "1.0" encoding = "UTF-8"?>
<! DOCTYPE Bai Yan's roommate [
<! ENTITY dormitory address "dezhi yuan dormitory, Hunan Normal University 409">
]>
<Bai Yan's roommate>
<Roommate>
<Name> Lang </Name>
<Age> 12 </age>
<! -- Reference a Defined Object: & Object Name; -->
<Address> & dormitory address; bed 1 </address>
</Roommate>
<Roommate>
<Name> Xiaoqiang </Name>
<Age> 42 </age>
<Address> & dormitory address; bed 2 </address>
</Roommate>
</Bai Yan's roommate>
This article is from the "Enthusiasm" blog