title: Converting from a Varchar in pl/sql which is more than 4000 characters to a XMLTYPE
body: <p>I came across a problem where I need to convert a string of more than 4000 characters to a XMLTYPE. I tried using</p>
  
  <pre><code>XMLTYPE.CREATEXML("MY STRING")
  XMLTYPE("MY STRING")
  </code></pre>
  
  <p>In both cases, I got 'String literal too long..' error.</p>