Here you can find the source of getAttributeValue(XmlPullParser pp, String name)
public static String getAttributeValue(XmlPullParser pp, String name)
//package com.java2s; // for license please see accompanying LICENSE.txt file (available also at http://www.xmlpull.org/) import org.xmlpull.v1.XmlPullParser; public class Main { /**//w ww .j av a 2 s .c o m * 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); } }