![MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference Download Page 427](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-dreamweaver-api/dreamweaver-mx-2004-dreamweaver-api_reference_3336554427.webp)
Tag editor and tag library functions
427
dreamweaver.tagLibrary.getTagLibraryDOM()
Availability
Dreamweaver MX.
Description
Given the URL of a
filename.
vtm
file, this function returns the DOM for that file, so that its
contents can be edited.
This function should be called only when the Tag Library editor is active.
Arguments
fileURL
•
The
fileURL
argument is the URL of a
filename.
vtm
file, relative to the Configuration/Tag
Libraries folder, as shown in the following example:
"HTML/img.vtm"
Returns
A DOM pointer to a new or previously existing file within the TagLibraries folder.
dreamweaver.tagLibrary.getSelectedLibrary()
Availability
Dreamweaver MX.
Description
If a library node is selected in the Tag Library editor, this function gets the library name.
Arguments
None.
Returns
A string, the name of the library that is currently selected in the Tag Library editor; returns an
empty string if no library is selected.
dreamweaver.tagLibrary.getSelectedTag()
Availability
Dreamweaver MX.
Description
If an attribute node is currently selected, this function gets the name of the tag that contains the
attribute.
Arguments
None.
Returns
A string, name of the tag that is currently selected in the Tag Library editor; returns an empty
string if no tag is selected.
000_DW_API_Print.book Page 427 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...