XML expected plate format. Mandatory!


The Swiss country prefix may be defined in fairpark configuration (Default = "CH").


How it works:

1. Search the first "-" in plate string. Remove everything before that including the "-".

2. Check if everything before the "-" equals to "SwissCountryPrefix".

3. Clean the remaining plate string remove this chars: (' ', '-', '+', '.', ',', ';', '/', '\', ':', '*')

4. Store the cleaned plate in whitelist.

5. If it's a swiss plate: Check if the first two characters are equals to "CD" or "CC". If so: Store the plate a second time in the whitelist without diplomatic prefix.


Examples: 

XML                        --> WhiteList:

"VD ./52-256"                --> "256"

"VD ./52;256"                --> "VD52256"

"CD-VD ./52;256"        --> "VD52256"

"IT-CD-VD ./52;256"        --> "CDVD52256"

"CH-CD-VD ./52;256"        --> "CDVD52256" AND "VD52256"