Home >Online Product Documentation >Table of Contents >General Entity Example in a DTD
Suppose you define the shopname general entity as an internal entity with the value Most Excellent Book Store of Tokyo. In the Text view of the DTD, this appears as follows:
shopname
Most Excellent Book Store of Tokyo
<!ENTITY shopname "Most Excellent Book Store of Tokyo">
In an instance document, when the XML parser finds &shopname;, it replaces it with Most Excellent Book Store of Tokyo.
&shopname;