Pod::Simple::XMLOutStream -- turn Pod into XML
perl -MPod::Simple::XMLOutStream -e \
"exit Pod::Simple::XMLOutStream->filter(shift)->any_errata_seen" \
thingy.pod
Pod::Simple::XMLOutStream is a subclass of Pod::Simple that parses Pod and turns it into XML.
Pod::Simple::XMLOutStream inherits methods from Pod::Simple.
Pod::Simple::DumpAsXML is rather like this class; see its documentation for a discussion of the differences.
Pod::Simple, Pod::Simple::DumpAsXML, Pod::SAX
The older (and possibly obsolete) libraries Pod::PXML, Pod::XML
TODO: An example or two of =extend, then point to Pod::Simple::Subclassing
If you actually want to use Pod as a format that you want to render to XML (particularly if to an XML instance with more elements than normal Pod has), please email me (sburke@cpan.org
) and I'll probably have some recommendations.
For reasons of concision and energetic laziness, some methods and options in this module (and the dozen modules it depends on) are undocumented; but one of those undocumented bits might be just what you're looking for.
Copyright (c) 2002-4 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 sburke@cpan.org