I am writing an xlate for an ORU, and from one of our vendors we are getting xodoa at the beginning of each new line in a single NTE segment. I have never dealt with this before, but it looks like this is not that uncommon. What I would like to do is break each of these into a separate NTE, and was trying to do it with a regsub.
regsub -all {X0D0A} $segment NTE| segment.
I have this set as a pre-proc with a COPY command for the NTE’s, but in testing I am getting a
0:TEST] Unable to load XLT ‘ChCon_test.xlt’: EOF in list element
Any suggestions?