This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In Win32 the cmd.exe console output doesn't seem to
[perl5.git] / lib / Pod / Perldoc / ToXml.pm
CommitLineData
1a67fee7
HS
1
2require 5;
3package Pod::Perldoc::ToXml;
4use strict;
5use warnings;
6use vars qw($VERSION);
7
8use base qw( Pod::Simple::XMLOutStream );
9
10$VERSION # so that ->VERSION is happy
11# stop CPAN from seeing this
12 =
13$Pod::Simple::XMLOutStream::VERSION;
14
15
16sub is_pageable { 0 }
17sub write_with_binmode { 0 }
18sub output_extension { 'xml' }
19
201;
21__END__
22
23=head1 NAME
24
25Pod::Perldoc::ToXml - let Perldoc render Pod as XML
26
27=head1 SYNOPSIS
28
29 perldoc -o xml -d out.xml Some::Modulename
30
31=head1 DESCRIPTION
32
33This is a "plug-in" class that allows Perldoc to use
34Pod::Simple::XMLOutStream as a formatter class.
35
36This is actually a Pod::Simple::XMLOutStream subclass, and inherits
37all its options.
38
39You have to have installed Pod::Simple::XMLOutStream (from the Pod::Simple
40dist), or this class won't work.
41
42
43=head1 SEE ALSO
44
45L<Pod::Simple::XMLOutStream>, L<Pod::Simple>, L<Pod::Perldoc>
46
47=head1 COPYRIGHT AND DISCLAIMERS
48
49Copyright (c) 2002 Sean M. Burke. All rights reserved.
50
51This library is free software; you can redistribute it and/or modify it
52under the same terms as Perl itself.
53
54This program is distributed in the hope that it will be useful, but
55without any warranty; without even the implied warranty of
56merchantability or fitness for a particular purpose.
57
58=head1 AUTHOR
59
60Sean M. Burke C<sburke@cpan.org>
61
62=cut
63