SERVICES XML PROPERTIES

The Services.xml file is used to register all the various Navigation Service XML files that are to be used as part of one or more packages. This file is formatted using XML and can be edited by using any text editor. The general format for the file is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<SimBase.Document Type="CabinService" version="1.0">
    <CabinService.Services>
        <Service Name ="NAME1" Filename="SERVICEFILENAME_1" Foldername="PATH"/>
        <Service Name ="NAME2" Filename="SERVICEFILENAME_2" Foldername="PATH"/>
        <!-- Further service files here -->
    </CabinService.Services>
</SimBase.Document>

 

Navigation services can be used by airports - as part of Apron Services - and by SimObjects, like aircraft. However, in all cases the package setup is the exact same: create an SPB asset group called CabinServices, and inside that add the Services.xml file:

Example Of Where To Create A Service XML File

 

The following XML is an example of how this file will look once created:

<?xml version="1.0" encoding="UTF-8"?>
<SimBase.Document Type="CabinService" version="1,0">
    <CabinService.Services>
        <Service Name ="PassengerService" Filename="PassengerService" Foldername="Asobo"/>
        <Service Name ="PassengerBoardingService" Filename="PassengerBoardingService" Foldername="Asobo"/>
        <Service Name ="SkydiveService" Filename="SkydiveService" Foldername="Asobo"/>
        <Service Name ="MedicService" Filename="MedicService"/>
        <Service Name ="MedicHoistService" Filename="MedicHoistService" Foldername="Asobo"/>
        <Service Name ="HoistService" Filename="HoistService" Foldername="Asobo"/>
        <Service Name ="CopilotService" Filename="CopilotService" Foldername="Asobo"/>
    </CabinService.Services>
</SimBase.Document>

 

 

<SimBase.Document>

This is the main parent element that is used to contain the navigation service file data. This element should have the following sub-element:

  1. <CabinService.Services>

 

This element has the following attributes:

 

Attribute Description Type Required
type The type of SimBase file. Should always be "CabinService". String Yes
version The file version. Float No

 

 

<CabinService.Services>

This is is a container element that is used to list the different Navigation Services XML Files that should be registered as part of the simulation navigation controller. It has no attributes and requires one or more of the following sub-element:

  1. <Service>

 

 

<Service>

This element is a sub-element of <CabinService.Services> and is used to define a single service XML file that is to be registered with the simulation navigation controller. This element has the following attributes:

 

Attribute Description Type Required
Name This is the "common" name of the navigation service XML, which will be used in other files to reference the service. String Yes
Filename

This is the file name of the XML file, without the file extension. For example if the file is called PassengerService.xml, then this attribute will be written as follows:

Filename = "PassengerService"

String Yes
Foldername This is the name of the folder where the services XML will be found. String Yes