MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 303

Dreamweaver api reference
Table of Contents

Advertisement

Returns
An array of six integers that quantify the number of the following elements:
XHTML errors that Dreamweaver fixed
The
elements that do not have an
map
The
elements that do not have a
script
The
elements that do not have a
style
The
elements that do not have an
img
The
elements that do not have an
area
dom.convertToXHTML()
Availability
Dreamweaver MX.
Description
Parses the HTML into a DOM tree, inserts missing items that are required for XHTML,
cleans up the tree, and then writes the tree as clean XHTML. The missing directives,
declarations, elements, and attributes that the
tree, as necessary, include the following items:
An XML directive
A
declaration
doctype
The
attribute in the
xmlns
A
section
head
A
element
title
A
section
body
During the conversion, the
attributes to lowercase, writes HTML tags and attributes with correct XHTML syntax, and
adds missing HTML attributes where it can. This function treats third-party tags and
attributes according to the settings in the Preferences dialog box.
If the document is a template, the
not perform the conversion.
Arguments
None.
attribute and cannot be fixed
id
type
type
attribute and cannot be fixed
alt
attribute and cannot be fixed
alt
convertToXHTML()
element
html
dom.convertToXHTML()
dom.convertToXHTML()
attribute and cannot be fixed
attribute and cannot be fixed
function adds to the DOM
function converts pure HTML tags and
function alerts the user but does
File manipulation functions
303

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents