ent2 315 B

12345678910
  1. <?xml version="1.0"?>
  2. <!DOCTYPE EXAMPLE SYSTEM "example.dtd" [
  3. <!ENTITY xml "Extensible Markup Language">
  4. <!ENTITY title PUBLIC "-//MY-TITLE//FR" "title.xml">
  5. <!ENTITY image SYSTEM "img.gif" NDATA GIF>
  6. ]>
  7. <EXAMPLE>
  8. &title;
  9. This text is about XML, the &xml; and this is an embedded <IMG src="image"/>
  10. </EXAMPLE>