For this example I will use a Package containing two functions, the signature of the package is as follows:
create or replace package emps_pkg
is
function get_department_xml (p_department_no in number)
return xmltype;
function get_departement_ot (p_department_no in number)
return all_departments_ot;
end emps_pkg;