Description of Entity and Parameter Entity Properties in DTDs

Table 63 shows the properties that an entity or parameter entity can have. It also provides the possible values, and a description for each property.

Property
Allowable Values
Description
Type
Entity
Parameter Entity
All entity nodes have this type.
Name
String
Identifier for this entity.
Location
External or Internal
An external location indicates that the value of the entity is in a file that is outside the DTD file.
An internal location indicates that the value of the entity is defined in the Value property of this entity node.
Value
String
If the value of the Location property is Internal, this property specifies the value of the entity. If the value of the Location property is External, you cannot specify this property.
Public ID
String
String that some parsers can resolve to a file location. Stylus Studio ignores any value you specify.
System ID
String
Path or URI for a file that contains the value of the entity.
Parsed
True or False
Indicates whether the entity value is parsed XML. A parameter entity does not have this property.
Table 63. Entity and Parameter Entity Property Descriptions

 
Free Stylus Studio XML Training: