MACROMEDIA COLFUSION MX 7-CFML Reference page 926

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

XmlValidate
Description
Uses a Document Type Definition (DTD) or XML Schema to validate an XML text document or
an XML document object.
Returns
The following validation structure:
Field
Errors
FatalErrors
Status
Warning
Category
XML functions
Function syntax
XmlValidate(xmlDoc[, validator])
See also
,
cfxml
IsXmlDoc
Chapter 35, "Using XML and WDDX" in ColdFusion MX Developer's Guide
History
ColdFusion MX 7: Added this function.
Parameters
Parameter
xmlDoc
validator
926
Chapter 3: ColdFusion Functions
Description
An array containing any validator error messages. These messages indicate that
the document does not conform to the DTD or Schema (is not valid).
An array containing any validator fatal error messages. Fatal errors indicate that
the document contains XML formatting errors (is not well-formed XML).
A Boolean value:
• True if the document is valid.
• False if the validation check failed.
An array containing any validator warnings. A well-formed and valid document
can produce warning messages.
,
,
,
IsXML
XmlFormat
XmlNew
Description
Any of the following:
• A string containing an XML document.
• The name of an XML file.
• The URL of an XML file; valid protocol identifiers include http, https, ftp, and
file.
• An XML document object, such as one generated by the
Any of the following:
• A string containing a DTD or Schema.
• The name of a DTD or Schema file.
• The URL of a DTD or Schema file; valid protocol identifiers include http, https,
ftp, and file.
,
,
XmlParse
XmlSearch
,
;
XmlTransform
function.
XmlParse

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents