Source – Jobvite RXS Template

There’s nothing too unique about this template file. The <CustomField> block is a repeating element, so we broke that out into a separate template section to allow for the necessary repetition.

[code lang=”xml”]::Request_Header
<?xml version="1.0"?>
<SyncData xmlns:i="http://www.w3.org/2001/XMLSchema-instance-test">
<CompanyId>.:CompanyId:.</CompanyId>
<ImporterEmail>.:ImporterEmail:.</ImporterEmail>
<ReportEmail>.:ReportEmail:.</ReportEmail>
<DoNotSyncOnWarnings>.:DoNotSyncOnWarnings:.</DoNotSyncOnWarnings>
<OverwriteEmployeeNamesAndEmail>.:Overwrite:.</OverwriteEmployeeNamesAndEmail>
<Employees>
::Employee_Header
<Employee>
<FirstName>.:FirstName:.</FirstName>
<LastName>.:LastName:.</LastName>
<Name>.:Name:.</Name>
<DepartmentName>.:DepartmentName:.</DepartmentName>
<LocationName>.:LocationName:.</LocationName>
<RegionName>.:RegionName:.</RegionName>
<SubsidiaryName>.:SubsidiaryName:.</SubsidiaryName>
<Role>.:Role:.</Role>
<Title>.:Title:.</Title>
<EmployeeId>.:EmployeeId:.</EmployeeId>
<Address>.:Address:.</Address>
<Address2>.:Address2:.</Address2>
<City>.:City:.</City>
<State>.:State:.</State>
<PostalCode>.:PostalCode:.</PostalCode>
<Country>.:Country:.</Country>
<HomePhone>.:HomePhone:.</HomePhone>
<WorkPhone>.:WorkPhone:.</WorkPhone>
<Mobile>.:Mobile:.</Mobile>
<CustomFields>
::CustomField
<CustomField>
<Key>.:Key:.</Key>
<Value>.:Value:.</Value>
</CustomField>
::Employee_Footer
</CustomFields>
</Employee>
::Request_Footer
</Employees>
</SyncData>[/code]