pod2xml - Script to convert PYX to XML.
pyx2xml [-e in_enc] [-h] [-i] [-s no_simple] [--version] [filename] [-]
pyx2xml script uses PYX::SGML::Tags class to create XML output of PYX.
-e in_enc
Input encoding. Default value is 'utf-8'.
-h
Print help.
-i
Indent output.
-s no_simple
List of element, which cannot be a simple like <element/>. Separator is comma.
--version
Print version of script.
filename
Input file in PYX format.
-
Stdin with PYX input.
pyx2xml # Output: # Usage: pyx2xml [-e in_enc] [-h] [-i] [--version] [filename] [-] # -e in_enc Input encoding (default value is utf-8). # -h Print help. # -i Indent output. # --version Print version. # [filename] Process on filename # [-] Process on stdin
cat <<END | pyx2xml - (element -foo )element END # Output: # <element>foo</element>
cat <<END | pyx2xml -s foo,baz - (foo )foo (bar )bar (baz )baz END # Output: # <foo></foo><bar /><baz></baz>
https://github.com/michal-josef-spacek/App-PYX2XML
Michal Josef Špaček mailto:skim@cpan.org
http://skim.cz
© 2015-2021 Michal Josef Špaček
BSD 2-Clause License
0.06
To install App::PYX2XML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::PYX2XML
CPAN shell
perl -MCPAN -e shell install App::PYX2XML
For more information on module installation, please visit the detailed CPAN module installation guide.