XMLAttribute
To directly obtain or set an attribute value, it is usually sufficient to use
        the XMLGetAttributeValue and XMLSetAttributeValue functions. Sometimes, you must access an attribute as a
        whole. In BI#, you can use the XMLAttribute data type for
        this purpose. This example process reads an element’s attribute and prints its local name
        and its value:
#define EngineVersion 5.0
#define RuntimeVersion 5.0
void XmlAttributeDemo()
{
     XMLDocument document = XMLParseDocument("<root attribute='value'/>");
     XMLAttribute attribute = XMLGetAttribute(XMLGetRootElement(document), "attribute");
     WriteLine(XMLGetLocalName(attribute) + "=" + XMLGetValue(attribute));
}