t9.xml 294 B

12345678
  1. <?xml version='1.0'?>
  2. <!DOCTYPE root [
  3. <!ENTITY % deftest '&#60;!ELEMENT test (#PCDATA) >' >
  4. <!ENTITY % defmiddle '&#60;!ELEMENT middle (test) >' >
  5. <!ENTITY % defroot '&#60;!ELEMENT root (middle) >' >
  6. %defroot; %defmiddle; %deftest;
  7. ]>
  8. <root><middle><test>sample</test></middle></root>