Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 1067

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
Node type
CDATA
COMMENT
ELEMENT
ENTITYREF
PI (processing instruction)
TEXT
ENTITY
NOTATION
DOCUMENT
FRAGMENT
DOCTYPE
Note: Although XML attributes are nodes on the DOM tree, ColdFusion does not expose them as XML DOM node data
structures. To view an element's attributes, use the element structure's XMLAttributes structure.
The XML document object and all its elements are exposed as DOM node structures. For example, you can use the
following variable names to reference nodes in the DOM tree that you created from the XML example in
XML
document" on page 1059:
mydoc.XmlName
mydoc.XmlValue
mydoc.XmlRoot.XmlName
mydoc.employee.XmlType
mydoc.employee.XmlNodes[1].XmlType
ColdFusion XML tag and functions
The following table lists the ColdFusion tags and functions that create and manipulate XML documents:
XmlName
#cdata-section
#comment
Tag name
Name of entity referenced
Target entire content excluding the target
#text
Entity name
Notation name
#document
#document-fragment
Document type name
Last updated 1/20/2012
xmlValue
Content of the CDATA section
Content of the comment
Empty string
Empty string
Empty string
Content of the text node
Empty string
Empty string
Empty string
Empty string
Empty string
1062
"A simple

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents