Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cross XML data with ABAP

Former Member
0 Likes
393

Hi,

i need to analyse XML data with ABAP.

I would like to cross XML and display all elements, for example :

<xml xmlns="http://www.w3.org/TR/REC-html40">

   <p class="NORMALL">

      <strong>Node 1</strong>

   </p>

   <p class="NORMALL">

      <strong>Node 2</strong>

   </p>

</xml>

My need is to detect all tag and display it, the best will be to use an recursive function. Can you help me ?

Best regard.

1 REPLY 1
Read only

jrg_wulf
Active Contributor
0 Likes
370

Hi Eric,

the best approach in my opinion would be to get into regular expressions, than use

find all occurences of regexp in table xml_tabl results result_tab.

This would enable you to locate and extract all tags.

Best regards - Jörg