MarkupParseContext.getElement
string getElement()Retrieves the name of the currently open element.
If called from the start_element or end_element handlers this will give the element_name as passed to those functions. For the parent elements, see [glib.markup_parse_context.MarkupParseContext.getElementStack].
Returns
the name of the currently open element, or null