Dom.getisxhtmldocument() - MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

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
perform the conversion.
Arguments
None.
Returns
An array of six integers that quantify the following items:
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
Example
In normal use, an extension first calls the
dreamweaver.getDocumentDOM()
then calls the

dom.getIsXHTMLDocument()

already in XHTML form. If it is not, the extension calls the
convert the document into XHTML. Then the extension calls the
dreamweaver.saveDocument()
dom.getIsXHTMLDocument()
Availability
Dreamweaver MX.
Description
Checks a document (specifically, the
Arguments
None.
Returns
A
value if the document is XHTML;
true
dom.convertToXHTML()
dom.convertToXHTML()
attribute and cannot be fixed
id
type
attribute and cannot be fixed
type
attribute and cannot be fixed
alt
attribute and cannot be fixed
alt
dreamweaver.openDocument()
functions to get a reference to the document. The extension
function to determine whether the document is
function to save the converted file with a new filename.
<!DOCTYPE>
false
function converts pure HTML tags and
function alerts the user but does not
attribute and cannot be fixed
dom.convertToXHTML()
declaration) to see whether it is XHTML.
otherwise.
File manipulation functions
or
function to
253

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents