Xml.Win.msxmldom.TMSDOMNode
Delphi
TMSDOMNode = class(TMSDOMInterface, IXMLDOMNodeRef, IDOMNode, IDOMNodeEx,
IDOMNodeSelect)
C++
class PASCALIMPLEMENTATION TMSDOMNode : public TMSDOMInterface
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Xml.Win.msxmldom.pas Xml.Win.msxmldom.hpp |
Xml.Win.msxmldom | Xml.Win.msxmldom |
Description
Represents a node in a DOM document. To create a sole element node, you can use the following code:
// Doc is a defined TMSDOMDocument
// Node is a TMSDOMNode
Node := TMSDOMNode.Create(Doc.MSDocument.createElement('Fujisan'));
Writeln(Node.MSNode.nodeName); { Fuji-san }
Note: To retrieve an
IXMLDOMNode
reference from a TMSDOMNode object, you can use the MSNode property.
TMSDOMNode is the base class for:
- TMSDOMDocument.
- TMSDOMElement.
- TMSDOMAttr.
- TMSDOMCharacterData.
- Other classes in the Xml.Win.msxmldom unit.