XML Tutorial
Entities and Other ComponentsXML Tutorial - Entities and Other Components
Overview of Entities
Internal Entities
Internal General Entities
Internal Parameter Entities
The XHTML Standard and Internal Parameter Entities
The New HelpHTM.htm Document
Possible Problems with Parameter Entities
External Entities
External Parsed General Entities
External Unparsed General Entities
External Parameter Entities
Processing Order
Conditional Sections
Summary
Entities and Other Components
In tutorial 4, we examined the two principal components of a document type definition (DTD): elements and attributes. In this tutorial, we will look at some additional components that can be added to the DTD. The focus of this tutorial will be entities, which are used to represent text that can be part of either the DTD or the XML document. You can use a single entity to represent a lengthy declaration and then use the entity in the DTD. You can also use entities to make one common file that contains a set of standard declarations that can be shared by many DTDs.