RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLNode.GetAttributeNS Method

Returns the value of a specified attribute.

Pascal
function GetAttributeNS(const AttrName: DOMString; const NamespaceURI: DOMString): OleVariant;
C++
__fastcall OleVariant GetAttributeNS(const DOMString AttrName, const DOMString NamespaceURI);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!