Extensible document types in
Dreamweaver
XML provides a rich system for defining complex documents and data structures.
Dreamweaver uses several XML schemas to organize information about server behaviors, tags
and tag libraries, components, document types, and reference information.
When you create and work with extensions in Dreamweaver, there are many instances in
which you create or modify existing XML files to manage the data that your extension uses. In
many cases, you can copy an existing file from the appropriate subfolder within the
Configuration folder to use as a template.
Document type definition file
The central component of extensible document types is the document type definition file.
There might be several definition files, all of which are located in the Configuration/
DocumentTypes folder. Each definition file contains information about at least one
document type. For each document type, essential information such as server model, color
coding style, descriptions, and so forth, is described.
Do not confuse Dreamweaver document type definition files with the XML document
type definition (DTD). Document type definition files in Dreamweaver contain a set of
documenttype elements, each of which defines a predefined collection of tags and
attributes that are associated with a document type. When Dreamweaver starts, it
parses the document type definition files and creates an in-memory database of
information regarding all defined document types.
Dreamweaver provides an initial document type definition file. This file, named
MMDocumentTypes.xml, contains the document type definitions provided by Macromedia:
Document type
ASP.NET C#
ASP.NET VB
ASP JavaScript
ASP VBScript
ColdFusion
Server
Internal type File
model
ASP.NET-
Dynamic
Csharp
ASP.NET-VB
Dynamic
ASP-JS
Dynamic
ASP-VB
Dynamic
ColdFusion
Dynamic
extensions
aspx, ascx
aspx, ascx
asp
asp
cfm, cfml
Extensible document types in Dreamweaver
Previous server
model
UltraDev 4
ColdFusion
35
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?