实体

DTD 可以包含实体声明。

<?xml version="1.0"?>
<!DOCTYPE document [
  <!ENTITY my-entity "This is the replacement text">
]>
<document>
  <!-- the rest of the document -->
</document>

本主题详细介绍了实体。