2.11 Entity

An Entity acts as a variable for replacement in the ACORD Specification. In the specification, we have used entities to describe groups of elements and aggregates that we wish to identify by name and use in one or more locations.

In XML, an entity is also used like a variable. An Entity is declared to have a name and then the name is referenced within the DTD or body of the document depending upon the type of entity. The content description of the entity substitutes for any use of the entity name in the spec, DTD or schema. Entities can repeat, be optional, be used together or inside other entity definitions. An entity can be:
  • Parsed
    • Character
    • General
    • Parameter
  • Unparsed
Unparsed entities are used for external file attachments typically in a binary format like Tiff or JPEG. Parsed entities act like variables. Character entities allow the numeric value of an entity to be used when it is difficult to create the character from the keyboard. General entities are not used in the ACORD design. Parameter entities are used in the DTD to allow the reuse of common structures or to modularize the DTD.

Last edited Mar 11, 2016 at 12:19 AM by natewaite, version 1