If the event is START_ELEMENT or END_ELEMENT, then the following methods
in XMLStreamReader
also work:
public String getLocalName()
public String getPrefix()
public QName getName()
getLocalName()
returns the local (unprefixed) name of the element
getQName()
returns a QName
object for this element
getPrefix()
returns the prefix of the element, or null if the element does not have a prefix