expp is a tool which transforms an XML file to another XML file, following directives inserted directly in the source XML file. This directives allow to handle macros, to affect value to variables and to test their values, to include files… In a glance, expp aims to be to XML what cpp is to C/C++.
The preprocessor is also embedded in all the Epeios software which handle XML files. The directives can also be used for those files.
The XML namespace : http://zeusw.org/epeios/xpp (xmlns:xpp=”http://zeusw.org/epeios/xpp”).
The Windows binary is included in the package. To obtain the GNU/Linux binary, the Cygwin one) or the Mac OS1) one, simply unpack the package, and launch make in the resulting directory. g++ and make must, of course, be installed.
In the package are also .xcfg and .xlcl files which have to be in the same directory as the binary one.
The default language is English. You can switch to French by changing the <Language>…<Language> section from expp.xcfg file from en to fr. This two are currently the only available languages, but, by completing the .xlcl files, and modifying the expp.xcfg file accordingly, you can switch to whatever language you want.
This tool is released under the GNU General Public License. This is the default license, but, under some circumstances, other licenses (with less restrictions, like GNU Lesser General Public License) are possible. Please contact me for more details.
The recognized directives are : define, expand, attribute, set, ifeq, and bloc. More details can be found on this page, on which you can also find an example of use.