1Pod::Simple::DumpAsXML(3Ppemr)l Programmers Reference GuPiodde::Simple::DumpAsXML(3pm)
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.
22 Pod::Simple::XMLOutStream's output is space-padded in a way that's
23 better for sending to an XML processor (that is, it has no ignoreable
24 whitespace). But Pod::Simple::DumpAsXML's output is much more human-
25 readable, being (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 Questions or discussion about POD and Pod::Simple should be sent to the
37 pod-people@perl.org mail list. Send an empty email to
38 pod-people-subscribe@perl.org to subscribe.
39
40 This module is managed in an open GitHub repository,
41 http://github.com/theory/pod-simple/ <http://github.com/theory/pod-
42 simple/>. Feel free to fork and contribute, or to clone
43 git://github.com/theory/pod-simple.git <git://github.com/theory/pod-
44 simple.git> and send patches!
45
46 Patches against Pod::Simple are welcome. Please send bug reports to
47 <bug-pod-simple@rt.cpan.org>.
48
50 Copyright (c) 2002 Sean M. Burke.
51
52 This library is free software; you can redistribute it and/or modify it
53 under the same terms as Perl itself.
54
55 This program is distributed in the hope that it will be useful, but
56 without any warranty; without even the implied warranty of
57 merchantability or fitness for a particular purpose.
58
60 Pod::Simple was created by Sean M. Burke <sburke@cpan.org>. But don't
61 bother him, he's retired.
62
63 Pod::Simple is maintained by:
64
65 · Allison Randal "allison@perl.org"
66
67 · Hans Dieter Pearcey "hdp@cpan.org"
68
69 · David E. Wheeler "dwheeler@cpan.org"
70
71
72
73perl v5.12.4 2011-06-07 Pod::Simple::DumpAsXML(3pm)