You stored captions as XML and now need SRT. The XML to SRT Converter reads each <cue> and rebuilds a numbered SubRip file.
For every cue it takes <start> and <end> (normalizing either comma or period timecodes to HH:MM:SS,mmm), unescapes the <text>, numbers the subtitle in order, and writes the standard --> timing line. Cues without an index are numbered automatically. Paste your XML and convert.