If the event is a tag, then the following methods
in XmlPullParser
also work:
public String getName()
public String getNamespace()
public String getPrefix()
getName()
returns the local (unprefixed) name of the tag
getNamespace()
returns the namespace URI, or the empty string
if the tag is not in a namespace
getPrefix()
returns the prefix of the tag, or null if the tag does not have a prefix