EXPP (Epeios XML preprocessor)

Introduction

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”).

Installation

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.

Configuration

Language

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.

Licences

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.

Status

  • Last stable release : 0.4.0 (2011-08-14)

The directives

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.

Resources

1) I don't own a Mac; only have access to one from time to time, so can not systematically test all version of this software on it
expp.txt · Last modified: 2011/08/17 16:09 by 192.168.5.10
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki