I have a requirement where I get a Broker Doc. which contains a list of records. Now, I need to create xml records and send to partner. But partner accepts 50 records at a time. So, If I get 100 records in the Broker document, how should I split the document into two xml documents of 50 each.
Please assist. I have no clue.