This example illustrates the common parts of the mapping file:
<?xml version="1.0" encoding="utf-8"?>
<Mapping>
<Rules Context="web server SPI">
<Rule name="Apache Server">
<Condition>
<!-- ... Boolean operators ... -->
</Condition>
<MapTo>
<!-- ... Target Mappings ... -->
</MapTo>
</Rule>
<!-- ... More Rules ... -->
</Rules>
<!-- ... More Rule sets with different contexts ... -->
</Mapping>
The components of the mapping files are described in Mapping File Syntax.