Working With BSM Connector > Collecting and Mapping Topology Data > Use Topology Synchronization Rules to Map Data > Mapping Syntax > Common Mapping File Format

Common Mapping File Format

Note: The rule name must be unique for all rules in the current file.

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.