SimpleXML.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 g_markup_parse_context_get_element_stack().

class SimpleXML
string
getElement
()

Return Value

Type: string

the name of the currently open element, or NULL

Meta