CORBA-HTML
view release on metacpan or search on metacpan
lib/CORBA/HTML/HtmlVisitor.pm view on Meta::CPAN
my $self = shift;
print 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) {
print OUT "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Frameset//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd'>\n";
}
else {
print OUT "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>\n";
}
print OUT "<html xmlns='http://www.w3.org/1999/xhtml'>\n";
print OUT "\n";
print OUT " <head>\n";
print OUT " <meta name='generator' content='idl2html ",$CORBA::HTML::VERSION," (Perl ",$],")' />\n";
print OUT " <meta name='date' content='",$now,"' />\n";
print OUT " <meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' />\n";
print OUT " <title>",$title,"</title>\n" if ($title);
unless ($frameset) {
print OUT " <base target='",$target,"' />\n" if (defined $target);
( run in 1.367 second using v1.01-cache-2.11-cpan-49f99fa48dc )