Code: Alles auswählen.
<name>
      <first>Ingo</first>
     <last>Melzer</last>
</name>

Also XML in DOM umgewandet und "ran an die Wurscht"Definition
DOM is a standard designed to provide the developer with an easy-to-manipulate tree structure representation of an XML document. This structure is appropriate for applications that need to access and manipulate the XML document directly. Since the whole tree is maintained in the memory, DOM-based applications can deteriorate server performance. Thus, we do not recommend that you use it for parsing large XML documents, especially when you are interested in some part of it and not the whole document.
Use
DOM enables you to traverse an existing DOM tree and extract specific information, as well as to build a DOM document in the memory and then either forward it to an application or to serialize it.
For more information, see:
· Building DOM Trees Through Parsing
· Traversing
· Building DOM Trees from a Document

Code: Alles auswählen.
  TYPES: BEGIN OF ty_doc_export,
    head  TYPE thead,
    line  TYPE tlinetab,
  END OF ty_doc_export.
  DATA: lt_doc_export TYPE TABLE OF ty_doc_export,
            my_xml TYPE string,
            lt_data  TYPE STANDARD TABLE OF string,
            ....
  FIELD-SYMBOLS: <ls_data> TYPE string.
* Get Path to File
  CALL METHOD cl_gui_frontend_services=>file_open_dialog
    EXPORTING
      initial_directory = 'C:\'
    CHANGING
      file_table        = lt_file
      rc                = lv_subrc.
  READ TABLE lt_file INTO lv_filename INDEX 1.
  CALL METHOD cl_gui_frontend_services=>gui_upload
    EXPORTING
      filename   = lv_filename
      filetype   = 'ASC'
    IMPORTING
      filelength = lv_size
    CHANGING
      data_tab   = lt_data.
  LOOP AT lt_data ASSIGNING <ls_data>.
    CONCATENATE my_xml <ls_data> INTO my_xml.
  ENDLOOP.
  CALL TRANSFORMATION id
  SOURCE XML my_xml
  RESULT extract = lt_doc_export.