beautypg.com

Delete libraries, tags, and attributes, Importing custom tags into dreamweaver, About importing custom tags into dreamweaver – Adobe Dreamweaver CS3 User Manual

Page 352: Import tags from xml files

background image

DREAMWEAVER CS3

User Guide

345

Edit an attribute for a tag

1

In the Tag Library editor (Edit > Tag Libraries), expand a tag library in the Tags box, expand a tag, and select a tag

attribute.

2

In the Attribute Case pop-up menu, select the Default, Lowercase, Uppercase, or Mixed Case option.

If you select Mixed Case, the Attribute Name Mixed Case dialog box appears. Type the attribute with the case
Dreamweaver should use when inserting it (for example,

onClick

), and click OK.

Click the Set Default link to set the default case for all attribute names.

3

In the Attribute Type pop-up menu, select the type of the attribute.

If you select Enumerated, type every allowed value for the attribute in the Values box. Separate the values with
commas, but no spaces. For example, the enumerated values of the

showborder

attribute of the

cfchart

tag are

listed as

yes,no

.

Delete libraries, tags, and attributes

1

In the Tag Library editor (Edit > Tag Libraries), select a tag library, tag, or attribute in the Tags box.

2

Click the Minus (–) button.

3

Click OK to permanently delete the item.

The item is removed from the Tags box.

4

Click OK to close the Tag Library editor and complete the deletion.

See also

“Customizing the coding environment” on page 308

Importing custom tags into Dreamweaver

About importing custom tags into Dreamweaver

You can import custom tags into Dreamweaver so that they become an integral part of the authoring environment.
For example, when you start typing an imported custom tag in Code view, a code hints menu appears, listing the tag’s
attributes and letting you select one.

Import tags from XML files

You can import tags from an XML Document Type Definition (DTD) file or a schema.

1

Open the Tag Library editor (Edit > Tag Libraries).

2

Click the Plus (+) button and select DTD Schema > Import XML DTD or Schema File.

3

Enter the filename or URL of the DTD or schema file.

4

Enter the prefix to be used with the tags.

Note: A prefix is used to identify a tag in the code as part of a particular tag library. Some tag libraries don’t use prefixes.

5

Click OK.

September 4, 2007