Rem Copyright (c) 1994 by Oracle Corp. All Rights Reserved. Rem Rem NAME Rem ht.sql - Hyper Text packages Rem PURPOSE Rem Provide utility functions for producing HTML documents Rem from pl/sql. Rem NOTES Rem Two sets of packages - one is all functions/constants (htf) Rem - one is all procedures (htp) Rem Rem A PL/SQL table of varchar2 is used to buffer output. Rem htp.print() buffers the output. Rem owa.get_page() fetches it out. Rem Rem This script should be run by the intended owner of the OWA packages. Rem HISTORY Rem mbookman 07/26/95 - Added mailto support Rem mbookman 05/23/95 - Full HTML 2.0 support Rem Numerous function/procedure name Rem changes for standardization Rem mloennro 09/05/94 - Creation Rem REM Creating HTFF package... create or replace package htff as /* STRUCTURE tags */ /*function*/ htmlOpen constant varchar2(7) := ''; /* No attributes in HTML 3.0 spec as of 6/7/95 */ /*function*/ htmlClose constant varchar2(7) := ''; /* No attributes in HTML 3.0 spec as of 6/7/95 */ /*function*/ headOpen constant varchar2(7) := '
'; /* No attributes in HTML 3.0 spec as of 6/7/95 */ /*function*/ headClose constant varchar2(7) := ''; /* No attributes in HTML 3.0 spec as of 6/7/95 */ --------------------------------------------------------------- /* Begin of Jiangang Guo's Functions */ /*function*/ javascriptOpen constant varchar2(50) := ''; /* End of Jiangang Guo's Functions */ --------------------------------------------------------------- function bodyOpen (cbackground in varchar2 DEFAULT NULL, cattributes in varchar2 DEFAULT NULL) return varchar2; /*function*/ bodyClose constant varchar2(7) := '