EDN Admin
Well-known member
What XSLT do I need to change this:
<div style="color:black; background-color:white
<pre><span style="color:blue <<span style="color:#a31515 JobUpdates <span style="color:red SiteCode<span style="color:blue =<span style="color:black "<span style="color:blue CRH001<span style="color:black " <span style="color:red UploaderVersion<span style="color:blue =<span style="color:black "<span style="color:blue 1.0.0.2<span style="color:black " <span style="color:red AutoFlowVersion<span style="color:blue =<span style="color:black "<span style="color:blue 4.03.3<span style="color:black " <span style="color:red ContentType<span style="color:blue =<span style="color:black "<span style="color:blue JOB UPDATE<span style="color:black " <span style="color:red Created<span style="color:blue =<span style="color:black "<span style="color:blue 2011-12-20T14:02:43<span style="color:black "<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 JobUpdate<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 JobDetails<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 JobId<span style="color:blue >50360<span style="color:blue </<span style="color:#a31515 JobId<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 CurrentStatus<span style="color:blue >ESTIMATED<span style="color:blue </<span style="color:#a31515 CurrentStatus<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 SubStatus<span style="color:blue >UNKNOWN<span style="color:blue </<span style="color:#a31515 SubStatus<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 JobTypeId<span style="color:blue >0<span style="color:blue </<span style="color:#a31515 JobTypeId<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 JobTypeName<span style="color:blue >Insurance<span style="color:blue </<span style="color:#a31515 JobTypeName<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 WorkProvider<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 DisplayName<span style="color:blue >DRIVE ASSIST<span style="color:blue </<span style="color:#a31515 DisplayName<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 WorkProviderCode<span style="color:blue >DRVASSIST<span style="color:blue </<span style="color:#a31515 WorkProviderCode<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 RepexCode<span style="color:blue >DRVASSIST<span style="color:blue </<span style="color:#a31515 RepexCode<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 InsurerApproved<span style="color:blue >0<span style="color:blue </<span style="color:#a31515 InsurerApproved<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 CaseReference<span style="color:blue >2890421<span style="color:blue </<span style="color:#a31515 CaseReference<span style="color:blue >
<span style="color:blue </<span style="color:#a31515 WorkProvider<span style="color:blue >
<span style="color:blue </<span style="color:#a31515 JobDetails<span style="color:blue >
<span style="color:blue </<span style="color:#a31515 JobUpdate<span style="color:blue >[/code]
To this:
<pre lang="x-xml <JobUpdates SiteCode="CRH001" UploaderVersion="1.0.0.2" AutoFlowVersion="4.03.3" ContentType="JOB UPDATE" Created="2011-12-20T14:02:43
<JobUpdate>
<JobDetails>
<JobId>50360</JobId>
<WorkProvider>
<DisplayName>DRIVE ASSIST</DisplayName>
<WorkProviderCode>DRVASSIST</WorkProviderCode>
<RepexCode>DRVASSIST</RepexCode>
<InsurerApproved>0</InsurerApproved>
<CaseReference>2890421</CaseReference>
</WorkProvider>
<CurrentStatus>ESTIMATED</CurrentStatus>
<SubStatus>UNKNOWN</SubStatus>
<JobTypeId>0</JobTypeId>
<JobTypeName>Insurance</JobTypeName>
</JobDetails>
</JobUpdate>[/code]
<br/>
I just need to move the WorkProvider node up and under the JobId one. Tried lots of ways but unable to get it to work. Any help much appreciated. Thanks.
<
--- Sam<br/>
View the full article
<div style="color:black; background-color:white
<pre><span style="color:blue <<span style="color:#a31515 JobUpdates <span style="color:red SiteCode<span style="color:blue =<span style="color:black "<span style="color:blue CRH001<span style="color:black " <span style="color:red UploaderVersion<span style="color:blue =<span style="color:black "<span style="color:blue 1.0.0.2<span style="color:black " <span style="color:red AutoFlowVersion<span style="color:blue =<span style="color:black "<span style="color:blue 4.03.3<span style="color:black " <span style="color:red ContentType<span style="color:blue =<span style="color:black "<span style="color:blue JOB UPDATE<span style="color:black " <span style="color:red Created<span style="color:blue =<span style="color:black "<span style="color:blue 2011-12-20T14:02:43<span style="color:black "<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 JobUpdate<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 JobDetails<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 JobId<span style="color:blue >50360<span style="color:blue </<span style="color:#a31515 JobId<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 CurrentStatus<span style="color:blue >ESTIMATED<span style="color:blue </<span style="color:#a31515 CurrentStatus<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 SubStatus<span style="color:blue >UNKNOWN<span style="color:blue </<span style="color:#a31515 SubStatus<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 JobTypeId<span style="color:blue >0<span style="color:blue </<span style="color:#a31515 JobTypeId<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 JobTypeName<span style="color:blue >Insurance<span style="color:blue </<span style="color:#a31515 JobTypeName<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 WorkProvider<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 DisplayName<span style="color:blue >DRIVE ASSIST<span style="color:blue </<span style="color:#a31515 DisplayName<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 WorkProviderCode<span style="color:blue >DRVASSIST<span style="color:blue </<span style="color:#a31515 WorkProviderCode<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 RepexCode<span style="color:blue >DRVASSIST<span style="color:blue </<span style="color:#a31515 RepexCode<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 InsurerApproved<span style="color:blue >0<span style="color:blue </<span style="color:#a31515 InsurerApproved<span style="color:blue >
<span style="color:blue <<span style="color:#a31515 CaseReference<span style="color:blue >2890421<span style="color:blue </<span style="color:#a31515 CaseReference<span style="color:blue >
<span style="color:blue </<span style="color:#a31515 WorkProvider<span style="color:blue >
<span style="color:blue </<span style="color:#a31515 JobDetails<span style="color:blue >
<span style="color:blue </<span style="color:#a31515 JobUpdate<span style="color:blue >[/code]
To this:
<pre lang="x-xml <JobUpdates SiteCode="CRH001" UploaderVersion="1.0.0.2" AutoFlowVersion="4.03.3" ContentType="JOB UPDATE" Created="2011-12-20T14:02:43
<JobUpdate>
<JobDetails>
<JobId>50360</JobId>
<WorkProvider>
<DisplayName>DRIVE ASSIST</DisplayName>
<WorkProviderCode>DRVASSIST</WorkProviderCode>
<RepexCode>DRVASSIST</RepexCode>
<InsurerApproved>0</InsurerApproved>
<CaseReference>2890421</CaseReference>
</WorkProvider>
<CurrentStatus>ESTIMATED</CurrentStatus>
<SubStatus>UNKNOWN</SubStatus>
<JobTypeId>0</JobTypeId>
<JobTypeName>Insurance</JobTypeName>
</JobDetails>
</JobUpdate>[/code]
<br/>
I just need to move the WorkProvider node up and under the JobId one. Tried lots of ways but unable to get it to work. Any help much appreciated. Thanks.
<
--- Sam<br/>
View the full article