User Guide
277
ADOBE INCOPY CS2
User Guide
To create an attribute
An attribute describes an element and consists of both a name (such as href or keywords) and a value (such as the
location of a placed image). You can view attributes in the Structure pane; however, they are not visible in the
document window.
You can add optional attributes to any element. For example, to include keywords for searching in another
downstream application, you can create an attribute called keywords.You canalsocreateattributestoindicatesubsti-
tuted text, article titles, and other XML content-related information.
An attribute includes a name and a value.
If youare usingaDTDfile, be sure to view theDTD file to seewhich attributes it allows.Whenvalidating an XML
file, InCopy verifies that attribute names conform to the DTD file.
1 Select an element, and then choose New Attribute from the Structure pane menu, or click the Add An Attribute
button
.
2 Specify a name and a value, and then click OK.
Right-click (Windows) or Control-click (Mac OS) an element in the Structure pane to display a context menu.
See also
“About DTD files” on page 279
To edit or delete an attribute
1 If the attributes are not visible in the Structure pane, choose Show Attributes from the Structure pane menu. You
might also need to click the triangle icon next to the element to display the attributes.
2 Do one of the following:
• To edit an attribute, double-click the attribute in the Structure pane. Edit the attribute as needed, and then
click OK.
• To delete an attribute, select the attribute in the Structure pane, and then choose Delete from the Structure pane
menu.
To show or hide attributes
❖ Choose Show Attributes or Hide Attributes from the Structure pane menu.










