Dreamweaver.taglibrary.gettaglibrarydom(), Dreamweaver.taglibrary.getselectedlibrary(), Dreamweaver.taglibrary.getselectedtag() – Adobe Dreamweaver API Reference CS5 User Manual
Page 494

489
DREAMWEAVER API REFERENCE
Code
Last updated 8/27/2013
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.