Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 1066

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using Web Elements and External Objects
Entry name
Type
XmlRoot
Element
XmlComment
String
XmlDocType
XmlNode
The element structure
Each XML element has the following entries:
Entry name
Type
XmlName
String
XmlNsPrefix
String
XmlNsURI
String
XmlText or
String
XmlCdata
XmlComment
String
XmlAttributes
Structure
XmlChildren
Array
XmlParent
XmlNode
XmlNodes
Array
XML DOM node structure
The following table lists the contents of an XML DOM node structure:
Entry name
Type
XmlName
String
XmlType
String
XmlValue
String
Note: The cfdump tag does not display XmlNode structures. If you try to dump an XmlNode structure, the
displays "Empty Structure."
The following table lists the contents of the XmlName and XmlValue fields for each node type that is valid in the
XmlType entry. The node types correspond to the objects types in the XML DOM hierarchy.
Description
The root element of the document.
A string made of the concatenation of all comments on the document, that is, comments in
the document prologue and epilog. This string does not include comments inside document
elements.
The DocType attribute of the document. This entry only exists if the document specifies a
DocType. This value is read only; you cannot set it after the document object has been created
This entry does not appear when the
Description
The name of the element; includes the namesapce prefix.
The prefix of the namespace.
The URI of the namespace.
A string made of the concatenation of all text and CData text in the element, but not inside any
child elements. When you assign a value to the XmlCdata element, ColdFusion places the text
inside a CDATA information item. When you retrieve information from document object, these
element names return identical values.
A string made of the concatenation of all comments inside the XML element, but not inside
any child elements.
All of this element's attributes, as name-value pairs.
All this element's children elements.
The parent DOM node of this element.
This entry does not appear when the
An array of all the XmlNode DOM nodes contained in this element.
This entry does not appear the
cfdump
Description
The node name. For nodes such as Element or Attribute, the node name is the element or
attribute name.
The node XML DOM type, such as Element or Text.
The node value. This entry is used only for Attribute, CDATA, Comment, and Text type nodes.
Last updated 1/20/2012
tag displays an XML element structure.
cfdump
tag displays an XML element structure.
cfdump
tag when displays an XML element structure.
1061
tag
cfdump

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents