get_element


Description:

[ Version ( since = "2.2" ) ]
public unowned string get_element ()

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 get_element_stack.

Parameters:

this

a MarkupParseContext

Returns:

the name of the currently open element, or null