code: public static String getElementFragmentAsString(byte[] b, VTDNav vn) throws NavException {
          long l = vn.getElementFragment();
          int offset = (int) l;
          int len = (int) (l >> 32);
          String elementFragment = new String(Arrays.copyOfRange(b, offset, offset + len));
          return elementFragment;
      }
docs: This method will print out the XML from the current position of
  <code>vn</code>. Very useful for debugging.