3 package Pod::Perldoc::ToXml;
8 use base qw( Pod::Simple::XMLOutStream );
10 $VERSION # so that ->VERSION is happy
11 # stop CPAN from seeing this
13 $Pod::Simple::XMLOutStream::VERSION;
17 sub write_with_binmode { 0 }
18 sub output_extension { 'xml' }
25 Pod::Perldoc::ToXml - let Perldoc render Pod as XML
29 perldoc -o xml -d out.xml Some::Modulename
33 This is a "plug-in" class that allows Perldoc to use
34 Pod::Simple::XMLOutStream as a formatter class.
36 This is actually a Pod::Simple::XMLOutStream subclass, and inherits
39 You have to have installed Pod::Simple::XMLOutStream (from the Pod::Simple
40 dist), or this class won't work.
45 L<Pod::Simple::XMLOutStream>, L<Pod::Simple>, L<Pod::Perldoc>
47 =head1 COPYRIGHT AND DISCLAIMERS
49 Copyright (c) 2002 Sean M. Burke. All rights reserved.
51 This library is free software; you can redistribute it and/or modify it
52 under the same terms as Perl itself.
54 This program is distributed in the hope that it will be useful, but
55 without any warranty; without even the implied warranty of
56 merchantability or fitness for a particular purpose.
60 Sean M. Burke C<sburke@cpan.org>