Skip to Content
0
Former Member
Apr 12, 2013 at 04:23 PM

ABAP trasformation and undefined XML structure

26 Views

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