I have an xml output as follows (see - 'Current') and there is a requirement to change the order of some of the elements so that it appears as below (see - Required). Currently some XSLT is being used to transform an initial raw output from an access DB to reach get the 'Current' example below. Would it be possible to change the ordering using XSLT?
CURRENT
<DFileUpload>
<Sessions>
<Session>
<SessionId>ABC181_1483</SessionId>
<CaseId>KIBB1</CaseId>
<SessionDate>2018-01-22</SessionDate>
<ServiceTypeId>1</ServiceTypeId>
<TotalNumberOfUnidentifiedClients>0</TotalNumberOfUnidentifiedClients>
<FeesCharged>0</FeesCharged>
<MoneyBusinessCommunityEducationWorkshopCode>0</MoneyBusinessCommunityEducationWorkshopCode>
<InterpreterPresent>0</InterpreterPresent>
<TimeMinutes>0</TimeMinutes>
<TotalCost>0</TotalCost>
<Quantity>1</Quantity>
<Topic>OTHER</Topic>
<SessionClients>
<SessionClient>
<ClientId>BSAC</ClientId>
<ParticipationCode>Client</ParticipationCode>
</SessionClient>
</SessionClients>
</Session>
<Session>
<SessionId>ABC181_1484</SessionId>
<CaseId>KIBB2</CaseId>
<SessionDate>2018-01-30</SessionDate>
<ServiceTypeId>1</ServiceTypeId>
<TotalNumberOfUnidentifiedClients>0</TotalNumberOfUnidentifiedClients>
<FeesCharged>0</FeesCharged>
<MoneyBusinessCommunityEducationWorkshopCode>0</MoneyBusinessCommunityEducationWorkshopCode>
<InterpreterPresent>0</InterpreterPresent>
<TimeMinutes>0</TimeMinutes>
<TotalCost>0</TotalCost>
<Quantity>1</Quantity>
<Topic>OTHER</Topic>
<SessionClients>
<SessionClient>
<ClientId>BSAC</ClientId>
<ParticipationCode>Client</ParticipationCode>
</SessionClient>
</SessionClients>
</Session>
<Sessions/>
REQUIRED
<DFileUpload>
<Sessions>
<Session>
<SessionId>ABC181_1483</SessionId>
<CaseId>KIBB1</CaseId>
<SessionDate>2018-01-22</SessionDate>
<ServiceTypeId>1</ServiceTypeId>
<TotalNumberOfUnidentifiedClients>0</TotalNumberOfUnidentifiedClients>
<FeesCharged>0</FeesCharged>
<MoneyBusinessCommunityEducationWorkshopCode>0</MoneyBusinessCommunityEducationWorkshopCode>
<InterpreterPresent>0</InterpreterPresent>
<SessionClients>
<SessionClient>
<ClientId>BSAC</ClientId>
<ParticipationCode>Client</ParticipationCode>
</SessionClient>
</SessionClients>
<TimeMinutes>0</TimeMinutes>
<TotalCost>0</TotalCost>
<Quantity>1</Quantity>
<Topic>OTHER</Topic>
</Session>
<Session>
<SessionId>ABC181_1484</SessionId>
<CaseId>KIBB2</CaseId>
<SessionDate>2018-01-30</SessionDate>
<ServiceTypeId>1</ServiceTypeId>
<TotalNumberOfUnidentifiedClients>0</TotalNumberOfUnidentifiedClients>
<FeesCharged>0</FeesCharged>
<MoneyBusinessCommunityEducationWorkshopCode>0</MoneyBusinessCommunityEducationWorkshopCode>
<InterpreterPresent>0</InterpreterPresent>
<SessionClients>
<SessionClient>
<ClientId>BSAC</ClientId>
<ParticipationCode>Client</ParticipationCode>
</SessionClient>
</SessionClients>
<TimeMinutes>0</TimeMinutes>
<TotalCost>0</TotalCost>
<Quantity>1</Quantity>
<Topic>OTHER</Topic>
</Session>
<Sessions/>