Allison Randal > Pod-PseudoPod-0.15 > Pod::PseudoPod::DumpAsXML

Download:
Pod-PseudoPod-0.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 1.01   Source  

NAME ^

Pod::PseudoPod::DumpAsXML -- turn PseudoPod into XML

SYNOPSIS ^

  perl -MPod::PseudoPod::DumpAsXML -e \
   "exit Pod::PseudoPod::DumpAsXML->filter(shift)->any_errata_seen" \
   thingy.pod

DESCRIPTION ^

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.

SEE ALSO ^

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.

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

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

syntax highlighting: