anchor.diff:    METHOD xml_add_structure.
   
       DATA: li_element       TYPE REF TO if_ixml_element,
  +          li_structure     TYPE REF TO if_ixml_element,
             li_text          TYPE REF TO if_ixml_text,
             lv_string        TYPE string,
  +          lv_name          TYPE string,
             lo_descr_ref     TYPE REF TO cl_abap_structdescr.
   
       FIELD-SYMBOLS: <ls_comp> TYPE abap_compdescr,
  
positive.code: 
        li_element->append_child( li_text ).
  
        ii_root->append_child( li_element ).
      ENDLOOP.
  
    ENDMETHOD.                    "structure_to_xml
  
  
negative.code: 
  
      lo_descr_ref ?= cl_abap_typedescr=>describe_by_data( ig_structure ).
      lv_name = lo_descr_ref->get_relative_name( ).
      li_structure = ii_xml_doc->create_element( lv_name ).
  
      LOOP AT lo_descr_ref->components ASSIGNING <ls_comp>.
  
  