论文部分内容阅读
安装完Dreamweaver MX以后,按照常规到“参数选择”进行一番设置,结果发现“新建文档”中HTML一栏的默认扩展名为.htm,而且为灰色(如图1),不能修改为需要的html,难道只有在保存时手工输入.html吗?能不能像Dreamweaver 4一样实现自动把扩展名设置为.html? 经过一番仔细的研究,我最终发现默认扩展名的控制权是在一个XML文件中,只要按照相应规范编辑该文件,就能修改成为需要的默认扩展名。用记事本打开C:Program FilesMacromediaDreamweaverMXConfigurationDocumentTypesMMDocumentTypes.xml(假设Dreamweaver MX安装在C盘的默认路径里面)。
After installing Dreamweaver MX, in accordance with the normal to “Preferences ” for some settings and found that “New Document ” HTML column default extension. Htm, and gray (Figure 1), can not Modify the need for html, it is only manually enter when saving. Html? Can not be the same as Dreamweaver 4 automatically set the extension to. Html? After a careful study, I eventually found that the default extension of the control is In an XML file, as long as the file is edited according to the corresponding specification, it can be modified to be the default extension needed. Use Notepad to open C: Program Files Macromedia DreamweaverMX Configuration DocumentTypes MMDocumentTypes.xml (assuming Dreamweaver MX installed in the C drive’s default path).