User Guide
428 Chapter 18: Code
dreamweaver.tagLibrary.importDTDOrSchema()
Availability
Dreamweaver MX.
Description
This function imports a DTD or schema file from a remote server into the tag library.
Arguments
fileURL, Prefix
• The fileURL argument is the path to DTD or schema file, in local URL format.
• The Prefix argument is the prefix string that should be added to all tags in this tag library.
Returns
Name of the imported tag library.
dreamweaver.tagLibrary.getImportedTagList()
Availability
Dreamweaver MX.
Description
This function generates a list of tagInfo objects from an imported tag library.
Arguments
libname
• The libname argument is the name of the imported tag library.
Returns
Array of tagInfo objects.
A
taginfo object contains information about a single tag that is included in the tag library. The
following properties are defined in a
tagInfo object:
• The tagName property, which is a string
• The attributes property, which is an array of strings. Each string is the name of an attribute
that is defined for this tag.
000_DW_API_Print.book Page 428 Wednesday, August 20, 2003 9:14 AM