title: XMLELEMENT doesnot display any data in the output window of Oracle Sql Developer
body: <p>I'm trying to create an XML using the XMLELEMENT function of Oracle and while testing the query its working fine but as soon as I have added the XMLELEMENT function, its not displaying any data. Here is what I'm doing:</p>
  
  <p>Normal Query:</p>
  
  <pre><code>SELECT NAME from sysadm.USER where ID = '121';
  **Output** - Sahil
  </code></pre>
  
  <p>XML Query:</p>
  
  <pre><code>SET SERVEROUTPUT ON
  DECLARE 
  nametag xmltype;
  BEGIN
    SELECT XMLELEMENT("USERNAME", NAME) into nametag from sysadm.USER where ID = '121';
  END;
  
  **Output** - anonymous block completed
  </code></pre>
  
  <p>Any suggestions what am I doing wrong?</p>