i using dbms_xmlgen package generate xml given query. xml generation failed when query result contains control characters.
ora-31061: xdb error: special char escaped char conversion failed.
then set dbms_xmlgen.setconvertspecialchars flag false , restarted query , manually trimmed off control characters using regex_replace.
since turn off dbms_xmlgen.setconvertspecialchars , special charcaters in xml contents not got converted . tried convert function treats xml varchar , converting xml tags.
after trimming control characters off have xml below
<a>something < </a>
i need converted <a>something < </a>
(expected) convert gives me <a>something < </a>
(actual)
please me here. in advance
Comments
Post a Comment