There was a similar post already. Have you looked at dbms_metadata ?