Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

ABAP trasformation and undefined XML structure

$
0
0

Hi everyone,

 

I'm developing a trasformation to deserialize an XML file into ABAP data. The problem is that the sequence of the tag into my XML files is not always the same.

e.g. the XML could be:

 

<X1>value</X1>

<X2>value2</X2>

 

but also:

 

<X2>value</X2>

<X1>value2</X1>

 

 

I developed the transformation using the <tt.group> tag and it works.

In this way I have to read all the xml tag, because if I use the <tt:skip> the program loose its "sequence-independent" attribute.

Someone knows how I could create a transformation for undefined XML tag sequence and at the same time skip the value I don't want to read?

 

Thank you


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>