Repeating data binding doesn't work for two tables/subforms with the same data node.
What you can do, for the first table you can do repeat data binding to populate the table.
And for the second table, you need to populate the table with java script by traversing the data XML.