Pod::Perldoc::ToXml - let Perldoc render Pod as XML


Pod-Perldoc documentation Contained in the Pod-Perldoc distribution.

Index


Code Index:

NAME

Top

Pod::Perldoc::ToXml - let Perldoc render Pod as XML

SYNOPSIS

Top

  perldoc -o xml -d out.xml Some::Modulename

DESCRIPTION

Top

This is a "plug-in" class that allows Perldoc to use Pod::Simple::XMLOutStream as a formatter class.

This is actually a Pod::Simple::XMLOutStream subclass, and inherits all its options.

You have to have installed Pod::Simple::XMLOutStream (from the Pod::Simple dist), or this class won't work.

SEE ALSO

Top

Pod::Simple::XMLOutStream, Pod::Simple, Pod::Perldoc

COPYRIGHT AND DISCLAIMERS

Top

AUTHOR

Top

Current maintainer: Adriano R. Ferreira <ferreira@cpan.org>

Past contributions from: Sean M. Burke <sburke@cpan.org>


Pod-Perldoc documentation Contained in the Pod-Perldoc distribution.

require 5;
package Pod::Perldoc::ToXml;
use strict;
use warnings;
use vars qw($VERSION);

use base qw( Pod::Simple::XMLOutStream );

$VERSION   # so that ->VERSION is happy
# stop CPAN from seeing this
 =
$Pod::Simple::XMLOutStream::VERSION;


sub is_pageable        { 0 }
sub write_with_binmode { 0 }
sub output_extension   { 'xml' }

1;
__END__