Michal Špaček > App-PYX2XML-0.02 > pod2xml

Download:
App-PYX2XML-0.02.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

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 ^

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

syntax highlighting: