code: public static boolean isIdentical(final String expected, final String actual) {
          final Diff diff = createDiffResult(expected, actual, false);
  
          return diff.identical();
      }
docs: This method will compare both XMLs and validate its attribute order.
  
  @param expected what are we expecting
  @param actual what we receive
  @return if they have same value and child order