Commit | Line | Data |
---|---|---|
1a67fee7 HS |
1 | package Pod::Perldoc::ToXml; |
2 | use strict; | |
3 | use warnings; | |
4 | use vars qw($VERSION); | |
5 | ||
0909e3f8 | 6 | use parent qw( Pod::Simple::XMLOutStream ); |
1a67fee7 | 7 | |
0909e3f8 | 8 | use vars qw($VERSION); |
2cbf1141 | 9 | $VERSION = '3.24'; |
1a67fee7 HS |
10 | |
11 | sub is_pageable { 0 } | |
12 | sub write_with_binmode { 0 } | |
13 | sub output_extension { 'xml' } | |
14 | ||
15 | 1; | |
16 | __END__ | |
17 | ||
18 | =head1 NAME | |
19 | ||
20 | Pod::Perldoc::ToXml - let Perldoc render Pod as XML | |
21 | ||
22 | =head1 SYNOPSIS | |
23 | ||
24 | perldoc -o xml -d out.xml Some::Modulename | |
25 | ||
26 | =head1 DESCRIPTION | |
27 | ||
28 | This is a "plug-in" class that allows Perldoc to use | |
29 | Pod::Simple::XMLOutStream as a formatter class. | |
30 | ||
31 | This is actually a Pod::Simple::XMLOutStream subclass, and inherits | |
32 | all its options. | |
33 | ||
34 | You have to have installed Pod::Simple::XMLOutStream (from the Pod::Simple | |
35 | dist), or this class won't work. | |
36 | ||
37 | ||
38 | =head1 SEE ALSO | |
39 | ||
40 | L<Pod::Simple::XMLOutStream>, L<Pod::Simple>, L<Pod::Perldoc> | |
41 | ||
42 | =head1 COPYRIGHT AND DISCLAIMERS | |
43 | ||
44 | Copyright (c) 2002 Sean M. Burke. All rights reserved. | |
45 | ||
46 | This library is free software; you can redistribute it and/or modify it | |
47 | under the same terms as Perl itself. | |
48 | ||
49 | This program is distributed in the hope that it will be useful, but | |
50 | without any warranty; without even the implied warranty of | |
51 | merchantability or fitness for a particular purpose. | |
52 | ||
53 | =head1 AUTHOR | |
54 | ||
0909e3f8 | 55 | Current maintainer: Mark Allen C<< <mallen@cpan.org> >> |
91a46224 AF |
56 | |
57 | Past contributions from: | |
0909e3f8 RS |
58 | brian d foy C<< <bdfoy@cpan.org> >> |
59 | Adriano R. Ferreira C<< <ferreira@cpan.org> >>, | |
60 | Sean M. Burke C<< <sburke@cpan.org> >> | |
1a67fee7 HS |
61 | |
62 | =cut | |
a6b91202 | 63 |