NAME
pod2xml - Script to convert PYX to XML.
SYNOPSIS
pyx2xml [-e in_enc] [-h] [-i] [-s no_simple] [--version] [filename] [-]
DESCRIPTION
pyx2xml script uses PYX::SGML::Tags class to create XML output of PYX.
ARGUMENTS
-e in_encInput encoding. Default value is 'utf-8'.-hPrint help.-iIndent output.-s no_simpleList of element, which cannot be a simple like <element/>. Separator is comma.--versionPrint version of script.filenameInput file in PYX format.-Stdin with PYX input.
EXAMPLE1
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
EXAMPLE2
cat <<END | pyx2xml -
(element
-foo
)element
END
# Output:
# <element>foo</element>
EXAMPLE3
cat <<END | pyx2xml -s foo,baz -
(foo
)foo
(bar
)bar
(baz
)baz
END
# Output:
# <foo></foo><bar /><baz></baz>
REPOSITORY
https://github.com/michal-josef-spacek/App-PYX2XML
AUTHOR
Michal Josef Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2015-2021 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.06