code: public void process(ContentHandler handler) {
      try {
        if (logger.isInfoEnabled())
          logger.info("Processing input source with SAX content handler");
  
        XMLReader reader = makeReader(false);
  
        reader.setContentHandler(handler);
  
        reader.parse(content);
      } catch (SAXException e) {
        logger.error("Failed to process input source with SAX content handler",e);
        throw new MarkLogicInternalException(e);
      } catch (IOException e) {
        logger.error("Failed to process input source with SAX content handler",e);
        throw new MarkLogicInternalException(e);
      }
    }
docs: Reads the input source, sending SAX events to the supplied content handler.
  @param handler	the SAX content handler