<(><<)>X0>
<(><<)>X1>1<(><<)>/X1>
<(><<)>X1>2<(><<)>/X1>
<(><<)>X2>3<(><<)>/X2>
<(><<)>X2>4<(><<)>/X2>
<(><<)>X3>5<(><<)>/X3>
<(><<)>X4>6<(><<)>/X4>
/X0
The deserialization proceeds as follows:
In the first loop pass, element X1 is used and the first element
X1 deserialized; ROOT1 is set to 1.
In the second loop pass, element X1 is used again because of
condition tt:cond frq="*" and the second element X1
deserialized; ROOT1 is set to 2.
In the third loop pass, element X2 is used and the first element
X2 deserialized; ROOT2 is set to 3.
In the fourth loop pass, element X2 cannot be used again because
of condition tt:cond frq="?" . Instead, the second element X2
is skipped in the standard deserialization with tt:skip .
Specifying count is necessary because otherwise all subsequent
elements would be skipped.
In the fifth loop pass, element X3 is used and the first element
X3 deserialized; ROOT3 is set to 5.
All required cases of the group have been selected, so the loop ends.
Element X4 is deserialized outside of tt:group ; ROOT4
is set to 6.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved