XML:getName()

Return the name of the current element.

Example
name = doc:getName()