RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.DOMElement Method

Returns the IDOMElement interface for this node if it exists.

Pascal
function DOMElement: IDOMElement;
C++
__fastcall IDOMElement DOMElement();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!