Entities are used to define shortcuts to special characters within the XML documents. Entities can be primarily of four types − Built-in entities. Character entities.
What are the two types of entity in XML?
There are two types of entity declarations: GENERAL entity declarations, and PARAMETER entity declarations.
What are the various types of entities and elements supported in XML?
Entity NameReplacement TextltThe less than sign (<)gtThe greater than sign (>)ampThe ampersand (&)aposThe single quote or apostrophe (‘)