Pod::Simple::DumpAsXML -- turn Pod into XML
perl -MPod::Simple::DumpAsXML -e \ "exit Pod::Simple::DumpAsXML->filter(shift)->any_errata_seen" \ thingy.pod
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.
Pod::Simple::XMLOutStream(3) 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 ignorable 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(3) 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(3), Pod::Simple::DumpAsXML(3) The older libraries Pod::PXML(3), Pod::XML(3), Pod::SAX(3)
Questions or discussion about POD and Pod::Simple should be sent to the firstname.lastname@example.org mail list. Send an empty email to email@example.com to subscribe. This module is managed in an open GitHub repository, <https://github.com/perl-pod/pod-simple/>. Feel free to fork and contribute, or to clone <git://github.com/perl-pod/pod-simple.git> and send patches! Patches against Pod::Simple are welcome. Please send bug reports to <firstname.lastname@example.org>.
COPYRIGHT AND DISCLAIMERS
Copyright (c) 2002 Sean M. Burke. 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.
Pod::Simple was created by Sean M. Burke <email@example.com>. But don't bother him, he's retired. Pod::Simple is maintained by: o Allison Randal "firstname.lastname@example.org" o Hans Dieter Pearcey "email@example.com" o David E. Wheeler "firstname.lastname@example.org" perl v5.24.0 2016-03-01 Pod::Simple::DumpAsXML(3pm)
perl 5.24 - Generated Sun Nov 20 09:45:01 CST 2016