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
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...