Macromedia dreamweaver 8-extending dreamweaver User Manual

Page of 504
262
Tag Libraries and Editors
Tag library file format
A tag library consists of a single root file, the TagLibraries.vtm file, that lists every installed 
tag, plus a VTML file for each tag in the tag library. The TagLibraries.vtm file functions as a 
table of contents and contains pointers to each individual tag’s VTML file. The following 
figure shows how Dreamweaver organizes the VTML files by markup language:
Macromedia HomeSite users can recognize the VTML file structure, but Dreamweaver does 
not use VTML files in the same way as HomeSite. The most important difference is that 
Dreamweaver contains its own HTML renderer that displays extension user interfaces (UIs), 
so the Dreamweaver VTML files are not used in the GUI rendering process.
The following example illustrates the structure of the TagLibraries.vtm file:
<taglibraries>
<taglibrary name="Name of tag library" doctypes="HTML,ASP-JS,ASP-VB" 
tagchooser="relative path to TagChooser.xml file" id="DWTagLibrary_html">
    <tagref name="tag name" file="relative path to tag .vtm file"/>
</taglibrary>
<taglibrary name="CFML Tags" doctypes="ColdFusion" servermodel="Cold 
Fusion" tagchooser="cfml/TagChooser.xml" id="DWTagLibrary_cfml">
    <tagref name="cfabort" file="cfml/cfabort.vtm"/>