protected static String getInlineString( XmlPullParser xpp ) throws XmlPullParserException, IOException
	{
		int eventType = xpp.next();
		String ret = "";
		while( (eventType != XmlPullParser.END_DOCUMENT) &&
				(eventType != XmlPullParser.END_TAG) &&
				(eventType != XmlPullParser.TEXT) )
		{
			eventType = xpp.next();
		}
		if( eventType == XmlPullParser.TEXT )
		{
			ret = xpp.getText();
		}

		try
		{
			return new String( ret.getBytes(), inputEncoding );
		}
		catch( Exception e )
		{
		}  // inputEncoding can be null
		return ret;
	}