Use two recordsets and filter the child recordset with the id from the parent.
Then do a repeat region on the parent recordset on the page.
After that is applied, manually move the child recordset code inside of the repeat region for the parent.
Now add a repeat region for the child recordset inside of the other repeat region.