Perl version

Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Pod::Simple::DumpAsXML

Perl 5 version 10.0 documentation
Recently read

Pod::Simple::DumpAsXML

NAME

Pod::Simple::DumpAsXML -- turn Pod into XML

SYNOPSIS

  1. perl -MPod::Simple::DumpAsXML -e \
  2. "exit Pod::Simple::DumpAsXML->filter(shift)->any_errata_seen" \
  3. thingy.pod

DESCRIPTION

Pod::Simple::DumpAsXML is a subclass of Pod::Simple that parses Pod and turns it into indented and wrapped XML. This class is of interest to people writing Pod formatters based on Pod::Simple.

Pod::Simple::DumpAsXML inherits methods from Pod::Simple.

SEE ALSO

Pod::Simple::XMLOutStream is rather like this class. Pod::Simple::XMLOutStream's output is space-padded in a way that's better for sending to an XML processor (that is, it has no ignoreable whitespace). But Pod::Simple::DumpAsXML's output is much more human-readable, being (more-or-less) one token per line, with line-wrapping.

Pod::Simple::DumpAsText is rather like this class, except that it doesn't dump with XML syntax. Try them and see which one you like best!

Pod::Simple, Pod::Simple::DumpAsXML

The older libraries Pod::PXML, Pod::XML, Pod::SAX

COPYRIGHT AND DISCLAIMERS

Copyright (c) 2002 Sean M. Burke. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

AUTHOR

Sean M. Burke sburke@cpan.org