Xml.XMLDoc.TXMLNode.DOMElement

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DOMElement: IDOMElement;

C++

Xml::Xmldom::_di_IDOMElement __fastcall DOMElement();

Properties

Type Visibility Source Unit Parent
function protected
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLNode

Description

Returns the IDOMElement interface for this node if it exists.

Application's can't call the protected DOMElement method. TXMLNode uses this method internally to obtain the DOM element interface, which it uses for working with attributes.

If the TXMLNode instance does not represent an element node, DOMElement raises an EXMLDocError exception.

See Also