Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/epeios-q37/xppq-cli

The Epeios XML preprocessor with command-line interface
https://github.com/epeios-q37/xppq-cli

Last synced: 24 days ago
JSON representation

The Epeios XML preprocessor with command-line interface

Awesome Lists containing this project

README

        

# The *XPPq* command-line tool

[![MacOS](https://github.com/epeios-q37/xppq-cli/actions/workflows/MacOS.yml/badge.svg)](https://github.com/epeios-q37/xppq-cli/actions/workflows/MacOS.yml) [![Ubuntu](https://github.com/epeios-q37/xppq-cli/actions/workflows/Ubuntu.yml/badge.svg)](https://github.com/epeios-q37/xppq-cli/actions/workflows/Ubuntu.yml) [![Windows](https://github.com/epeios-q37/xppq-cli/actions/workflows/Windows.yml/badge.svg)](https://github.com/epeios-q37/xppq-cli/actions/workflows/Windows.yml)

## Description

*XPPq* is a command-line tool which transforms an [*XML*](//q37.info/s/s3jtm3c9) 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, *XPPq* aims to be to *XML* what [*CPP*](//q37.info/s/xmpsbj77) is to *C*/*C++*.

More information about *XPPq* : .

## Example

File `Common.xml`:
```xml


linux.org


windows.com




/home/dupond/









c:\Documents\Dupond\




















SomeFile





OtherFile




http://

/something

```

File `Linux.xml`:
```xml


```

File `Windows.xml`
```xml


```

`xppq Linux.xml` outputs following:
```xml

/home/dupond/SomeFile
/home/dupond/OtherFile
http://linux.org/something

```

`xppq Windows.xml` outputs following:
```xml

c:\Documents\Dupond\SomeFile
c:\Documents\Dupond\OtherFile
http://windows.com/something

```