You can change the name of a declared external entity and/or the name of the file (but not its content).
To change an external entity declaration, do the following:
To call up the Internal Subset Entities Dialog, do one of the following:
Choose
.Right-click any entity reference in the ContentMap and select Entity Declarations from the context menu.
The Internal Subset Entities Dialog will appear. The left Choose Entity pane of the dialog shows the list of internal and external entities declared in the document.
Figure 1. Internal Subset Entities Dialog.
Only internal DTD subset entity declarations may be modified.
To select the subtree of external entities, click the External subtree.
To choose an external entity, click the external entity's name in the External subtree.
The right Entity Content pane of the dialog shows the filename of the chosen external entity.
Figure 2. External entity selected.
To call up the Change External Entity Dialog, click the Change button.
The Change External Entity Dialog will appear.
Figure 3. Change External Entity Dialog.
Do any of the following:
In the Entity Name field, enter the new name of the external entity.
In the File Name field, enter the new filename of the external entity. You can use the Browse button to specify the file location.
If you change the filename of the external entity, the content of the external entity will be written to the new file on the next save.
To change the external entity declaration, click OK.
Figure 4. New name and filename of the external entity specified. Click OK.
If an entity with the same name already exists, the error message will appear. Click OK and specify another entity name.
If there is no entity with the same name in the internal DTD subset, the entity name will be changed. This change will affect all references to this entity in the document.