Luna::VariantUtils::get_xml_attributes

Variant & get_xml_attributes(Variant &xml_element)

Gets attributes of one XML element.

Parameters

  • in xml_element

    The variant that represents the XML element.

Return value

Returns one reference to the attribute map of the XML element. The returned variant has object variant type, and attributes can be indexed and changed using attribute names as map keys.