This query will help you get XML code of your custom OAF page and region, Just run the below script into PL/SQL anonymous block to get XML code of any OAF page in Oracle R12 Application.
BEGIN jdr_utils.printdocument('/xxcustom/oracle/apps/pa/notification/webui/xxinvPG'); END;