getAttributeValue

fun getAttributeValue(xpp: XmlPullParser, attributeName: String): String?

Returns the value of an attribute of the current start tag.

Return

The value of the attribute, or null if the current event is not a start tag or if no such attribute was found.

Parameters

xpp

The XmlPullParser to query.

attributeName

The name of the attribute.