| MojoMojo documentation | Contained in the MojoMojo distribution. |
MojoMojo::Formatter::File::DocBook - format Docbook in xhtml
Can format DocBook (xml)
Takes DocBook documentation and renders it as XHTML.
Daniel Brosseau <dab@catapulse.org>
This module is licensed under the same terms as Perl itself.
| MojoMojo documentation | Contained in the MojoMojo distribution. |
package MojoMojo::Formatter::File::DocBook; use parent qw/MojoMojo::Formatter/; use MojoMojo::Formatter::DocBook;
sub can_format { my $self = shift; my $type = shift; return 1 if ( $type eq "xml" ); return 0; }
sub to_xhtml { my ( $class, $dbk ) = @_; my $result; return MojoMojo::Formatter::DocBook->to_xhtml($dbk); }
1;