anchor.diff:      ENDIF.
   
       li_table = mi_xml_doc->create_element( lv_name ).
  +    lv_kind = lo_table_descr->get_table_line_type( )->kind.
   
       LOOP AT it_table ASSIGNING <lg_line>.
  -      structure_add( ig_structure = <lg_line> ii_root = li_table ).
  +      CASE lv_kind.
  +        WHEN cl_abap_typedescr=>kind_struct.
  +          structure_add( ig_structure = <lg_line>
  +                         ii_root      = li_table ).
  +        WHEN cl_abap_typedescr=>kind_elem.
  +          element_add( ig_element = <lg_line>
  +                       ii_root    = li_table ).
  +        WHEN OTHERS.
  +          _raise 'unknown kind'.
  +      ENDCASE.
       ENDLOOP.
   
       mi_root->append_child( li_table ).
   
     ENDMETHOD.                    "table_add
  +
  +  METHOD element_add.
  +
  +    DATA: lo_descr   TYPE REF TO cl_abap_elemdescr,
  +          lv_string  TYPE string,
  +          li_element TYPE REF TO if_ixml_element,
  +          li_text    TYPE REF TO if_ixml_text,
  +          lv_name    TYPE string.
  +
  +
  +    lo_descr ?= cl_abap_typedescr=>describe_by_data( ig_element ).
  +
  +    lv_name = lo_descr->get_relative_name( ).
  +    IF lv_name IS INITIAL.
  +      _raise 'no name'.
  +    ENDIF.
  +
  +    li_element = mi_xml_doc->create_element( lv_name ).
  +
  +    lv_string  = ig_element.
  +    li_text    = mi_xml_doc->create_text( lv_string ).
  +
  +    li_element->append_child( li_text ).
  +
  +    IF ii_root IS SUPPLIED.
  +      ii_root->append_child( li_element ).
  +    ELSE.
  +      mi_root->append_child( li_element ).
  +    ENDIF.
  +
  +  ENDMETHOD.                    "element_add
   
     METHOD structure_add.
   
  
positive.code: 
  
      lo_descr ?= cl_abap_typedescr=>describe_by_data( ig_structure ).
      lv_name = lo_descr->get_relative_name( ).
      IF lv_name IS INITIAL.
        _raise 'no name'.
  
negative.code:       IF sy-subrc <> 0.
          _raise 'Error while reading dynpro'.
        ENDIF.
  
        io_xml->structure_add( ls_header ).
        io_xml->table_add( lt_containers ).
        io_xml->table_add( lt_fields_to_containers ).
        io_xml->table_add( lt_flow_logic ).
  
      ENDLOOP.
  
    ENDMETHOD.                    "serialize_dynpros
  
    METHOD lif_serialize~deserialize.
  
      DATA: lv_name        TYPE string,
            lv_xml         TYPE string,
  