Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
582
Chapter 21:  Optimizing and Debugging Your Code
To make an existing HTML document XHTML-compliant: 
Open a document, then do one of the following:
For a document without frames, select File > Convert, and then select one of the 
XHTML document type definitions.
For example, you can make an HTML document XHTML-compliant by selecting 
XHTML 1.0 Transitional or XHTML 1.0 Strict from the pop-up menu.
For a document with frames, select a frame and select File > Convert, and then select 
one of the XHTML document type definitions.
To convert the whole document, repeat this step for every frame and the frameset 
document.
Related topics
Using the ColdFusion debugger 
(Windows only)
If you’re a ColdFusion developer using Macromedia ColdFusion as your Dreamweaver testing 
server, you can view ColdFusion debugging information without leaving Dreamweaver. 
If you’re running ColdFusion MX 6.1 or earlier, make sure debugging settings are enabled in 
ColdFusion Administrator before you begin debugging. For more information, see the 
ColdFusion documentation in Using Dreamweaver (Help > Using ColdFusion). If you’re 
running ColdFusion MX 7 or later, Dreamweaver enables the settings for you.
NO
T
E
You can’t convert an instance of a template, because it must be in the same 
language as the template on which it’s based. For example, a document based 
on an XHTML template will always be in XHTML, and a document based on a 
non-XHTML-compliant HTML template will always be HTML and can’t be 
converted to XHTML or any other language.
NO
T
E
This feature is not supported on the Macintosh. Macintosh developers can use Preview 
in Browser (F12) to open a ColdFusion page in a separate browser. If the page contains 
errors, information about the possible causes for the errors appears at the bottom of the 
page.