Matt,
This is very doable in an Xlate.
You will need to keep you own repetition counter for the outbound OBX segments as it will differ from the iteration (repetition) counter the Xlate keeps with the inbound OBX segments as a result of the ITERATE.
If you are still in need of assistance, note my email address. Also, note I am on vacation until 9/26/2006.
Jim Kosloskey
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.