Class: cXMLDOMElement

Properties  Events  Methods    Index of Classes

XML class for handling an element node



Library: Common (Windows and Web Application) Class Library

Package: Flexml.pkg

Mixins: cXMLDOMNodeMixin cXMLDOMMixin


The purpose of the cXMLDOMElement is for creating element node objects. Elements are the nodes that provide the framework for the document object. Because elements can have children, they are the focal points of the document structure. Other types of data nodes (such as attributes and text nodes) are generally placed at strategic points to embellish the content of the document, but the element nodes form the document's core.

Note:Element nodes are among the most common objects in the XML document tree. Element nodes can have attributes associated with them. By definition, attributes are not defined as child nodes of an element and are not considered to be part of the document tree. Accordingly, the cXmlDomElement class provides methods to make it easier to manage attributes, including methods to associate an attribute with an element, and to retrieve an attribute object and the attribute value by name.

Using the XML Classes

The cXmlDomDocument class is the starting point for most XML processing. Refer to the cXmlDomDocument class for more information about the XML Document Object Model (DOM) and using XML within DataFlex. Samples are provided in this section.

See Also

cXmlDomDocument | cXmlDomAttribute | cXmlDomCDataSection | cXmlDomComment | cXmlDomDocumentFragment | cXmlDomDocumentType | cXmlDomEntity | cXmlDomEntityReference | cXmlDomNamedNodeMap | cXmlDomNode | cXmlDomNodeList | cXmlDomNotation | cXmlDomProcessingInstruction | cXmlDomTextNode | BaseXmlDomParseError