Hi,
Let’s say I have a simple XML:
<?xml version="1.0" encoding="UTF-8"?> <xml> <document> <jobs> <job> <current> <jobno>60001075</jobno> </current> <previous> <jobno>60002075</jobno> </previous> </job> <job> <current> <jobno>60001074</jobno> </current> <previous> <jobno>60002074</jobno> </previous> </job> <job> <current> <jobno>60001076</jobno> </current> <previous> <jobno>60002076</jobno> </previous> </job> </jobs> </document> </xml>
My steps look like this:
So, the repeat is on /xml/document/jobs/job
My XML viewer looks like this:
And finally my Data Model looks like this:
As I defined the repeat to start at job level I do not understand why at the Data Model level I do not have job[3] and current[1] and previous[1] instead it seems to loop over current and previous.