docs: private void addRevisionToRevHistory(final Node revHistory, final Node revision) {
          if (revHistory.hasChildNodes()) {
              revHistory.insertBefore(revision, revHistory.getFirstChild());
          } else {
              revHistory.appendChild(revision);
          }
      }