Macromedia dreamweaver 8-extending dreamweaver User Manual

Page of 504
Extensible document types in Dreamweaver
39
internaltype
Yes
A broad classification of how 
Dreamweaver treats a file. The 
internaltype
 identifies whether the 
Design view is enabled for this 
document and handles special cases 
such as Dreamweaver templates or 
extensions.
The following values are valid:
  Dynamic
  DWExtension
 (has special display 
regions)
  DWTemplate
 (has special display 
regions)
  HTML
  HTML4 
  Text
 (Code view only)
  XHTML1 
  XML
 (Code view only)
All server model-related document 
types should map to 
Dynamic
. HTML 
should map to 
HTML
. Script files (such as 
CSS, JS, VB, and CS) should map to 
Text
.
If 
internaltype
 is 
DWTemplate
, you 
should also specify 
dynamicid
. If you 
omit 
dynamicid
 in this case, the new 
blank template that the New Document 
dialog box creates is not a recognized 
document type by the Server Behavior 
or Bindings panel. Instances of this 
template are simply an HTML template.
dynamicid
No
A reference to the unique identifier of a 
dynamic document type. This attribute 
is meaningful only when 
internaltype
 is 
DWTemplate
. This attribute lets you 
associate a dynamic template with a 
dynamic document type. 
Element Type
Required Description 
Tag
Attribute