2015 Feb 04 9:55 AM
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.
2015 Feb 04 11:41 AM
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