Xml.XMLDoc.TXMLNode.CreateAttributeNode
Delphi
function CreateAttributeNode(const ADOMNode: IDOMNode): IXMLNode; virtual;
C++
virtual Xml::Xmlintf::_di_IXMLNode __fastcall CreateAttributeNode(const Xml::Xmldom::_di_IDOMNode ADOMNode);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Xml.XMLDoc.pas Xml.XMLDoc.hpp |
Xml.XMLDoc | TXMLNode |
Description
Creates a new TXMLNode object for an attribute of this node.
Applications can't call the protected CreateAttributeNode method. TXMLNode uses this method internally to generate the nodes that populate the AttributeNodes property.
CreateAttributeNode creates a new TXMLNode object for the specified IDOMNode interface and returns its interface.
ADOMNode is the interface for the DOM implementation's version of the attribute node.