GetXMLAttribute()

Syntax

Result$ = GetXMLAttribute(Node, Attribute$)
Description
Returns the value of an attribute in the given XML node.

Parameters

Node The XML node to get the atttribute.
Attribute$ The attribute name.

Return value

The value of the attribute in the specified XML node. If the attribute does not exist an empty string is returned. Only nodes of type #PB_XML_Normal can have attributes. For all other node types the compiler raises an error.

See Also

SetXMLAttribute(), RemoveXMLAttribute()

Supported OS

All

<- FreeXML() - XML Index - GetXMLEncoding() ->