Pod::PseudoPod::DumpAsXML -- turn PseudoPod into XML
perl -MPod::PseudoPod::DumpAsXML -e \ "exit Pod::PseudoPod::DumpAsXML->filter(shift)->any_errata_seen" \ thingy.pod
Pod::PseudoPod::DumpAsXML is a subclass of Pod::PseudoPod that parses Pod and turns it into indented and wrapped XML. This class is of interest to people writing Pod formatters based on Pod::PseudoPod.
Pod::PseudoPod::DumpAsXML is nearly a direct copy of Pod::Simple::DumpAsXML, included here so I can run all the tests for Pod::Simple on Pod::PseudoPod.
Pod::PseudoPod::XMLOutStream is rather like this class. Pod::PseudoPod::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.
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.
Sean M. Burke