SET PAGES 0;
SET LINE 1000;
SET LONG 9999999;
SPOOL C:\pensionnew.xml;
col foo format a60000
SELECT DBMS_XMLGEN.GETXML('SELECT * FROM DATAAG')foo FROM DUAL;
SPOOL OFF;
i use this code for generating xml.. the answer is:suppose the the column not have value means the tag wont came . i need empty tag for that for that
use the API for it, dont use the quick fire
getxml(string)version.eg: