1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
<?xml version="1.0"?>
<!DOCTYPE example PUBLIC "" "example.dtd" [
<!ENTITY wwwmurrayc "http://www.murrayc.com">
<!ENTITY wwwlibxmlplusplus "https://libxmlplusplus.github.io/libxmlplusplus">
<!ENTITY mercury "☿">
<!ENTITY venus "♀">
<!ENTITY earth "♁">
<!ENTITY mars "♂">
<!ENTITY planets "&mercury;(☿), &venus;(♀), &earth;(♁), &mars;(♂)">
]>
<example>
<examplechild id="1">
Some content. &wwwmurrayc;
Some other content &wwwlibxmlplusplus;
<child_of_child/>
Mercury &mercury;
Some planets &planets;
</examplechild>
</example>
|