The Document Imaging module can be used in conjunction with XML Index DIP to automatically commit XML Index DIP batches.