Luna::VariantUtils::get_xml_attributes

const Variant & get_xml_attributes(const 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 using attribute names as map keys.