public static final HashMap readMapXml(InputStream in) throws XmlPullParserException, IOException {
  XmlPullParser parser=Xml.newPullParser();
  parser.setInput(in,null);
  return (HashMap)readValueXml(parser,new String[1]);
}

public static final HashMap readMapXml ( InputStream in ) throws XmlPullParserException , IOException { XmlPullParser parser = Xml . newPullParser ( ) ; parser . setInput ( in , null ) ; return ( HashMap ) readValueXml ( parser , new String [ 1 ] ) ; }
read a hashmap from an inputstream containing xml . the stream can previously have been written by writemapxml ( ) .
