Here you can find the source of getAttributeValue(XmlPullParser pp, String name)
public static String getAttributeValue(XmlPullParser pp, String name)
//package com.java2s; import org.xmlpull.v1.XmlPullParser; public class Main { /**//from w w w.j a v a2 s. com * Return value of attribute with given name and no namespace. */ public static String getAttributeValue(XmlPullParser pp, String name) { return pp.getAttributeValue(XmlPullParser.NO_NAMESPACE, name); } }