Creating an Alias Map from a Populated Template
When creating an alias map from a populated template, Arbortext Architect provides all the elements, attributes, and attribute values defined in the selected document type. Use this method for creating alias maps if you want to create aliases for most or all of the elements, attributes, and attribute values in the selected document type.
To create an alias map from a populated template:
1. Open Arbortext Architect.
2. Choose > .
3. Locate the directory in which the document type is saved and click OK.
4. Choose > to open the Alias Map Editor.
5. Choose > .
The New dialog box opens.
6. In the New dialog box, select Populate From DTD and click OK.
The dialog box closes and an alias map containing all the document type's elements, attributes, and attribute values displays in the Alias Map Editor.
The Alias Map Editor defaults to the Document Map view. If you would like to work from an Edit view, choose > to change to the Edit view.
7. Locate the element, attribute, or attribute value for which you want to create an alias, place your cursor to the right of its associated alias tag, and type an alias name.
There are several guidelines you must follow when creating an alias. To ensure that Arbortext Editor does not interpret an alias as an entity, notation, or marked section, aliases should not begin with ampersands, exclamation points, or percent signs. Also, aliases cannot contain character entities. If an alias contains a character entity, ArbortextEditor will ignore any aliases defined in the alias map after the one containing the character entity.
Further, aliases cannot include the following characters, as they may be misinterpreted by ACL:
◦ Colons
◦ Semicolons
◦ Single or double quotes
◦ Dollar signs
◦ Left and right angle brackets
◦ Spaces
Aliases are always case sensitive, no matter how the NAMECASE GENERAL is set in an SGML declaration.
8. Perform the same steps to create aliases for global attribute and global attribute value aliases.
9. When you have finished creating aliases, validate the alias map. To do this, choose > . If there are any warnings or errors associated with the alias map, they will display in an Alias Map Editor Error Messages window.
10. Choose > to save this alias map. Arbortext Architect will add an .alias extension to the file name. For easy retrieval, you may want to save the alias map to the directory where the document type is located.