1Pod::Simple::DumpAsXML(U3s)er Contributed Perl DocumentatPioodn::Simple::DumpAsXML(3)
2
3
4
6 Pod::Simple::DumpAsXML -- turn Pod into XML
7
9 perl -MPod::Simple::DumpAsXML -e \
10 "exit Pod::Simple::DumpAsXML->filter(shift)->any_errata_seen" \
11 thingy.pod
12
14 Pod::Simple::DumpAsXML is a subclass of Pod::Simple that parses Pod and
15 turns it into indented and wrapped XML. This class is of interest to
16 people writing Pod formatters based on Pod::Simple.
17
18 Pod::Simple::DumpAsXML inherits methods from Pod::Simple.
19
21 Pod::Simple::XMLOutStream is rather like this class. Pod::Sim‐
22 ple::XMLOutStream's output is space-padded in a way that's better for
23 sending to an XML processor (that is, it has no ignoreable whitespace).
24 But Pod::Simple::DumpAsXML's output is much more human-readable, being
25 (more-or-less) one token per line, with line-wrapping.
26
27 Pod::Simple::DumpAsText is rather like this class, except that it
28 doesn't dump with XML syntax. Try them and see which one you like
29 best!
30
31 Pod::Simple, Pod::Simple::DumpAsXML
32
33 The older libraries Pod::PXML, Pod::XML, Pod::SAX
34
36 Copyright (c) 2002 Sean M. Burke. All rights reserved.
37
38 This library is free software; you can redistribute it and/or modify it
39 under the same terms as Perl itself.
40
41 This program is distributed in the hope that it will be useful, but
42 without any warranty; without even the implied warranty of mer‐
43 chantability or fitness for a particular purpose.
44
46 Sean M. Burke "sburke@cpan.org"
47
48
49
50perl v5.8.8 2003-11-02 Pod::Simple::DumpAsXML(3)