code: private boolean isLocalDita(final Element elem) {
          final String scopeValue = elem.getAttribute(ATTRIBUTE_NAME_SCOPE);
          final String formatValue = elem.getAttribute(ATTRIBUTE_NAME_FORMAT);
          return ("".equals(scopeValue) || ATTR_SCOPE_VALUE_LOCAL.equals(scopeValue)) &&
                  ("".equals(formatValue) || ATTR_FORMAT_VALUE_DITA.equals(formatValue) || ATTR_FORMAT_VALUE_DITAMAP.equals(formatValue));
      }
docs: Private methods ---------------------------------------------------------