Add an attribute
1
Select an element.
2
Do one of the following:
•
Click the Add An Attribute button
•
Choose New Attribute on the Structure pane menu.
•
Right-click (Windows) or Control-click (Mac OS) the selected element and choose New Attribute.
3
Specify a name and a value for the attribute, and then click OK.
Show or hide attributes in the Structure pane
❖
Choose Show Attributes or Hide Attributes from the Structure pane menu.
You may need to click the triangle icon next to an element to display its attributes.
Edit or delete an attribute
1
Select an attribute in the Structure pane.
2
Do one of the following:
•
To edit the attribute, double-click it or choose Edit from the Structure pane menu.
•
To delete the attribute, click the Delete icon or choose Delete from the Structure pane menu.
Edit href attributes
InCopy creates
attributes automatically to handle image files. The
href
the image file so that the image file can be displayed. When you tag a placed image, InCopy creates an
value that lists the image's path and filename.
The path can be an absolute link, a relative link to the same folder as the XML file, or a relative link to the Images
subfolder of the folder where the XML file is located. Relative paths are specific to the path where the document is
saved.
•
An
attribute with an absolute link looks like the following (in Windows and the Mac OS):
href
href=file:///C:/Images/Meadow.psd
href=file:///Users/abhayc//Desktop/abc.jpg
•
An href attribute to an image file in the same folder as the XML file looks like the following:
href=file:Meadow.psd
•
An href attribute to an image file in the Images subfolder looks like the following:
href=file:///Images/Meadow.psd
You can edit the
attribute to specify a new link to an image. For example, you can edit an absolute link to make
href
it a relative link, thereby making the image file accessible when you export the file.
1
In the Structure pane, double-click the href attribute. (You may need to click the triangle icon next to the image
element to display the attribute.)
2
For Value, enter the new path to the image, and then click OK.
.
Updated 29 April 2009
USING INCOPY CS4
attribute defines the on-disk location of
href
272
XML
attribute
href