Copyright 2024 - BV TallVision IT

To get the XML output into good readable shape, hand it to the pretty printer method. 

REPORT Z_DEMO_EASY_XML_PRETTY_PRINTER.
include ZABAPCADABRA_EASY_XML.
data: lv_xml_example type string,
      lt_xml_example type standard table of string.

start-of-selection.

lv_xml_example = '' &&
                 '' &&
                 'Dipperdeedoo' &&
                 '' &&
                 'Grass' &&
                 '' &&
                 '' &&
                 ''.

write: / lv_xml_example.
uline.
lcl_easy_xml=>pretty_printer(
  EXPORTING xml_string = lv_xml_example
  IMPORTING pretty_xml = lt_xml_example ).

loop at lt_xml_example into lv_xml_example.
  write: / lv_xml_example.
endloop.