51: line_num_out number;
52: i number;
53: begin
54: line_num_out:=line_num; 55: xmlstr := dbms_lob.SUBSTR(result,32767); 56: loop
57: exit when xmlstr is null;
58: line := substr(xmlstr,1,instr(xmlstr,fnd_global.newline)-1);
59: if instr(line,'ROW') = 0 || instr(line,'?xml version') then