Xml.XMLIntf.IXMLNode.GetAttributeNS

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAttributeNS(const AttrName, NamespaceURI: DOMString): OleVariant;

C++

virtual System::OleVariant __fastcall GetAttributeNS(const System::UnicodeString AttrName, const System::UnicodeString NamespaceURI) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Xml.XMLIntf.pas
Xml.XMLIntf.hpp
Xml.XMLIntf IXMLNode

Description

Returns the value of a specified attribute.

Call GetAttributeNS to determine the value of an attribute when you must explicitly specify the namespace for the attribute.

AttrName is the name of the attribute whose value you want to fetch.

NamespaceURI identifies the namespace in which the attribute resides.

GetAttributeNS returns the value of the attribute. If AttrName and NamespaceURI do not identify an attribute of this node, GetAttributeNS returns a Null Variant.

See Also