Converting to Internal Entity

You can convert any part of document content to a reference to a newly-declared internal entity.

Do the following:

  1. Select content for the internal entity.

    Select what to convert to an internal entity in the Editing Window or in the ContentMap.

    Figure 1. Content selected in the Editing Window.



  2. Call up the Convert to Internal Entity Dialog.

    To call up the Convert to Internal Entity Dialog, do one of the following:

    • Choose Entity > Convert to Internal Entity .

    • Right-click the selection and select Convert to Internal Entity from the context menu.

    The Convert to Internal Entity Dialog will appear.

    Figure 2. Convert to Internal Entity Dialog.



  3. Specify the name of the entity.

    In the Entity Name field, enter the name of the new internal entity.

  4. Convert the selection to the internal entity.

    To convert the selection to the internal entity, click OK.

    Figure 3. Entity name specified. Click OK.



    Note:

    If an entity with the same name already exists, the error message will appear. Click OK and specify another entity name.



    The internal entity will be declared in the document and the internal entity reference will be inserted.

    Figure 4. Content converted to an internal entity.



    You can insert more references to the declared internal entity. You can also convert the document portion back from the internal entity into a regular content, change the internal entity declaration or remove the internal entity declaration.

Related tasks
Inserting Internal Entity
Converting from Internal Entity