The Customizable & Simple XML Parser.
This program monolithically parses XML according to what the user changes in the /config.h
file
and what preset is used.
My main reason was to beautify archlinux's rss package feed. So csxp
is designed to
handle one file and one preset at a time. But feel free to fork this and add more!
Read the manpage to learn about the preset syntax if you want to customize it.
This repository uses a Makefile
at root to compile.
Run:
make
ormake install
to installcsxp
to$PREFIX/bin
.make csxp
to just compilecsxp
.make tags
to make ctags' tag file for the source tree.make clean
to clean the compilation junk.make man
to compress man pages.
Pass in the following evironment variables if needed:
CC
: the C compiler (gcc)CCFLAG
: additional flags to pass to the compiler ()CTAGS
: ctags program (ctags)GZIP
: gunzip compressor (gzip)PREFIX
: root prefix for install (/usr/local)