NAME
pod2xml - Script to convert PYX to XML.
SYNOPSIS
pyx2xml [-e in_enc] [-h] [-i] [--version] [filename] [-]
DESCRIPTION
pyx2xml script uses PYX::SGML::Tags class to create XML output of PYX.
ARGUMENTS
* "-e in_enc"
Input encoding.
Default value is 'utf-8'.
* "-h"
Print help.
* "-i"
Indent output.
* "--version"
Print version of script.
* "filename"
Input 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>
REPOSITORY
<https://github.com/tupinek/App-PYX2XML>
AUTHOR
Michal Špaček <mailto:skim@cpan.org>
<http://skim.cz>
LICENSE AND COPYRIGHT
© 2015-2016 Michal Špaček
BSD 2-Clause License
VERSION
0.02