code: @Deprecated
    protected Optional<String> parseXmlHasMore(
        String xml, String elementName, String attributeKey, String newContinueKey) {
      XmlElement rootElement = XmlConverter.getRootElement(xml);
      Optional<XmlElement> aContinue = rootElement.getChildOpt("continue");
      if (aContinue.isPresent()) {
        return aContinue.get().getAttributeValueOpt(newContinueKey);
      } else {
        // XXX fallback for < MW1_19
        XmlElement queryContinue = rootElement.getChild("query-continue").getChild(elementName);
        return queryContinue.getAttributeValueOpt(attributeKey);
      }
    }
docs: XML related methods will be removed.