CORBA-HTML
view release on metacpan or search on metacpan
lib/CORBA/HTML/HtmlVisitor.pm view on Meta::CPAN
757677787980818283848586878889909192939495969798
my
$self
=
shift
;
OUT
" <hr />\n"
;
}
sub
_format_head {
my
$self
=
shift
;
my
(
$title
,
$frameset
,
$target
) =
@_
;
my
$now
=
localtime
();
# print OUT "<?xml version='1.0' encoding='ISO-8859-1'?>\n";
if
(
$frameset
) {
OUT
"<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Frameset//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd'>\n"
;
}
else
{
OUT
"<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>\n"
;
}
OUT
"\n"
;
OUT
" <head>\n"
;
OUT
" <meta name='generator' content='idl2html "
,
$CORBA::HTML::VERSION
,
" (Perl "
,$],
")' />\n"
;
OUT
" <meta name='date' content='"
,
$now
,
"' />\n"
;
OUT
" <meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' />\n"
;
OUT
" <title>"
,
$title
,
"</title>\n"
if
(
$title
);
unless
(
$frameset
) {
OUT
" <base target='"
,
$target
,
"' />\n"
if
(
defined
$target
);
( run in 1.669 second using v1.01-cache-2.11-cpan-95122f20152 )