Line 603: x_text:=ltrim(ltrim(l_text),fnd_global.local_chr(10));
599: end loop;
600: if l_html_flag=1 then
601: ctx_doc.policy_filter('IEM_HTML_EXTRACT_POLICY',l_text,l_data,TRUE,null,null,null);
602: l_text:=dbms_lob.substr(l_data,dbms_lob.getlength(l_data),1); 603: x_text:=ltrim(ltrim(l_text),fnd_global.local_chr(10)); 604: else
605: x_text:=ltrim(l_text,' '); --Return the plain text as is.
606: end if;
607: dbms_lob.freetemporary(l_data);