code: public List<MedlineCitation> parseAsArticles(InputStream is) {
          try {
              MedlineCitationSet parse = (MedlineCitationSet) unmarshaller
                      .unmarshal(is);
              return parse.getMedlineCitation();
          } catch (Exception e) {
              LOG.warn("could not parse article ", e);
              return null;
          } finally {
              IOUtils.closeQuietly(is);
          }
      }
docs: Parse Medline gzipped archives