Declare your desired directory:
Use dbms_xslprocessor to write XMLType column to file:
create or replace DIRECTORY XMLDIR AS 'C:\tmp';
Use dbms_xslprocessor to write XMLType column to file:
BEGIN for cur in (select XML_COLUMN from YOUR_TABLE) loop dbms_xslprocessor.clob2file(cur.XML_COLUMN.getClobVal(), 'XMLDIR', 'NAME.xml'); end loop; END; /