DTD General Entities
A quick explanation on declaring general entities.
This lesson refreshes our memory on how to declare a general entity. The following lesson introduces another type of entity; the parameter entity.
The <!ENTITY> declaration for general entities has the following syntax:
You can also declare external general entities. This enables you to use an entity from a remote file. You declare external general entities using the following syntax:
After declaring the entity named
author, we can now use it in our XML document: