Document Types > Creating Aliases > Creating an Alias Map from a Populated Template
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 File > Open.
3. Locate the directory in which the document type is saved and click OK.
4. Choose Edit > Aliases to open the Alias Map Editor.
5. Choose File > New.
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 View > Edit View 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:
Single or double quotes
Dollar signs
Left and right angle brackets
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 Tools > Validate Alias Map File. 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 File > Save 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.