1*0Sstevel@tonic-gate 2*0Sstevel@tonic-gaterequire 5; 3*0Sstevel@tonic-gatepackage Pod::Perldoc::ToXml; 4*0Sstevel@tonic-gateuse strict; 5*0Sstevel@tonic-gateuse warnings; 6*0Sstevel@tonic-gateuse vars qw($VERSION); 7*0Sstevel@tonic-gate 8*0Sstevel@tonic-gateuse base qw( Pod::Simple::XMLOutStream ); 9*0Sstevel@tonic-gate 10*0Sstevel@tonic-gate$VERSION # so that ->VERSION is happy 11*0Sstevel@tonic-gate# stop CPAN from seeing this 12*0Sstevel@tonic-gate = 13*0Sstevel@tonic-gate$Pod::Simple::XMLOutStream::VERSION; 14*0Sstevel@tonic-gate 15*0Sstevel@tonic-gate 16*0Sstevel@tonic-gatesub is_pageable { 0 } 17*0Sstevel@tonic-gatesub write_with_binmode { 0 } 18*0Sstevel@tonic-gatesub output_extension { 'xml' } 19*0Sstevel@tonic-gate 20*0Sstevel@tonic-gate1; 21*0Sstevel@tonic-gate__END__ 22*0Sstevel@tonic-gate 23*0Sstevel@tonic-gate=head1 NAME 24*0Sstevel@tonic-gate 25*0Sstevel@tonic-gatePod::Perldoc::ToXml - let Perldoc render Pod as XML 26*0Sstevel@tonic-gate 27*0Sstevel@tonic-gate=head1 SYNOPSIS 28*0Sstevel@tonic-gate 29*0Sstevel@tonic-gate perldoc -o xml -d out.xml Some::Modulename 30*0Sstevel@tonic-gate 31*0Sstevel@tonic-gate=head1 DESCRIPTION 32*0Sstevel@tonic-gate 33*0Sstevel@tonic-gateThis is a "plug-in" class that allows Perldoc to use 34*0Sstevel@tonic-gatePod::Simple::XMLOutStream as a formatter class. 35*0Sstevel@tonic-gate 36*0Sstevel@tonic-gateThis is actually a Pod::Simple::XMLOutStream subclass, and inherits 37*0Sstevel@tonic-gateall its options. 38*0Sstevel@tonic-gate 39*0Sstevel@tonic-gateYou have to have installed Pod::Simple::XMLOutStream (from the Pod::Simple 40*0Sstevel@tonic-gatedist), or this class won't work. 41*0Sstevel@tonic-gate 42*0Sstevel@tonic-gate 43*0Sstevel@tonic-gate=head1 SEE ALSO 44*0Sstevel@tonic-gate 45*0Sstevel@tonic-gateL<Pod::Simple::XMLOutStream>, L<Pod::Simple>, L<Pod::Perldoc> 46*0Sstevel@tonic-gate 47*0Sstevel@tonic-gate=head1 COPYRIGHT AND DISCLAIMERS 48*0Sstevel@tonic-gate 49*0Sstevel@tonic-gateCopyright (c) 2002 Sean M. Burke. All rights reserved. 50*0Sstevel@tonic-gate 51*0Sstevel@tonic-gateThis library is free software; you can redistribute it and/or modify it 52*0Sstevel@tonic-gateunder the same terms as Perl itself. 53*0Sstevel@tonic-gate 54*0Sstevel@tonic-gateThis program is distributed in the hope that it will be useful, but 55*0Sstevel@tonic-gatewithout any warranty; without even the implied warranty of 56*0Sstevel@tonic-gatemerchantability or fitness for a particular purpose. 57*0Sstevel@tonic-gate 58*0Sstevel@tonic-gate=head1 AUTHOR 59*0Sstevel@tonic-gate 60*0Sstevel@tonic-gateSean M. Burke C<sburke@cpan.org> 61*0Sstevel@tonic-gate 62*0Sstevel@tonic-gate=cut 63*0Sstevel@tonic-gate 64