Document Types > XML Support > Predeclared Character Entities
  
Predeclared Character Entities
XML predeclares character entities for five characters: lt, gt, amp, apos, and quot. If the external subset of your DTD has no declaration for one or more of these entities, Arbortext Editor will, when writing out an XML document as SGML, write an SDATA entity declaration for that entity at the top of the internal subset.
Arbortext Editor handles the XML predeclared entities in an XML document as follows.
When reading an XML document, Arbortext Editor behaves as though the following declarations existed and were in force:
<!ENTITY lt "&#60;">
<!ENTITY gt "&#62;">
<!ENTITY amp "&#38;">
<!ENTITY apos "'">
<!ENTITY quot '"'>
If different declarations exist for any of these entity names, they will be ignored.
When writing an XML document, Arbortext Editor writes at the top of the internal subset any of the above declarations if and only if that entity has no declaration in the external subset of the DTD.
Arbortext Editor displays each of the five predeclared entities in an XML document as an appropriate glyph in the Edit window irrespective of the showentities setting. None of these five predeclared entities will appear in the text entity dialog or the Insert Markup dialog.