NAME
Perl6::Pod::To::XHTML - XHTML formater
SYNOPSIS
my $p = new Perl6::Pod::To::XHTML::
header => 0, doctype => 'html';
fill html head
my $p = new Perl6::Pod::To::XHTML::
header => 1, doctype => 'html',
head=>[
link=>
{
rel=>"stylesheet",
href=>"/styles/main.1232622176.css"
}
],
body=>1 #add <body> tag. Default: 0;
DESCRIPTION
Process pod to xhtml
Sample:
=begin pod
=NAME Test chapter
=para This is a test para
=end pod
Run converter:
pod6xhtml test.pod > test.xhtml
Result xml:
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Test chapter</title>
</head>
<para>This is a test para</para>
</html>
SEE ALSO
http://perlcabal.org/syn/S26.html
AUTHOR
Zahatski Aliaksandr, <zag@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Zahatski Aliaksandr
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.