Macromedia dreamweaver 8-extending dreamweaver 사용자 설명서

다운로드
페이지 504
Extensible document types in Dreamweaver
35
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.
Dreamweaver provides an initial document type definition file. This file, named 
MMDocumentTypes.xml, contains the document type definitions provided by Macromedia: 
NO
TE
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.
Document type
Server 
model
Internal type File 
extensions
Previous server 
model 
ASP.NET C#
ASP.NET-
Csharp
Dynamic
aspx, ascx
ASP.NET VB
ASP.NET-VB
Dynamic
aspx, ascx
ASP JavaScript
ASP-JS
Dynamic
asp
ASP VBScript
ASP-VB
Dynamic
asp
ColdFusion
ColdFusion
Dynamic
cfm, cfml
UltraDev 4 
ColdFusion