write xslt code to get the manager details for new user in employee records where company = 001

  • 状态: Closed
  • 奖金: ₹500
  • 参赛作品已收到: 1
  • 获胜者: brianwoolstrum

竞赛简介

I'm looking for a freelancer to write a custom XSLT code or Groovy Script to get the manager details for new users in employee records where company = 001 else pass as it is. The output should be formatted to XML according to a specific template provided by me. Additionally, I do not require any help with testing the code; I will do my own tests. The successful Freelancer will take the requirements of the project and deliver a working code that meets the exact specifications of the project.
Script for below xml document
<queryCompoundEmployee>
<CompoundEmployee>
<person>
<string1>123</string1>
<location>BZA</location>
<employment_information>
<user_id>123</user_id>
<job_information>
<company>777</company>
<cost_center>1111</cost_center>
<manager_id>456</manager_id>
</job_information>
</employment_information>
</person>
</CompoundEmployee>
<CompoundEmployee>
<person>
<string1>345</string1>
<location>BZA</location>
<employment_information>
<user_id>345</user_id>
<job_information>
<company>666</company>
<cost_center>2222</cost_center>
<manager_id>999</manager_id>
</job_information>
</employment_information>
</person>
</CompoundEmployee>
<CompoundEmployee>
<person>
<string1>234</string1>
<location>CZA</location>
<employment_information>
<user_id>234</user_id>
<job_information>
<company>001</company> // if Company=001 then fill Manager company
<cost_center>0001</cost_center> // if Company=001 then fill Manaager Cost center
<manager_id>123</manager_id>
</job_information>
</employment_information>
</person>
</CompoundEmployee>
</queryCompoundEmployee>

Required xml document:
<Root>
<Data>
<UniqueId>123</UniqueId>
<location>BZA</location>
<CostCenter>1111</CostCenter>
<CompanyCode>777</CompanyCode>
<manager_id>456</manager_id>
</Data>
<Data>
<UniqueId>345</UniqueId>
<location>BZA</location>
<CostCenter>2222</CostCenter>
<CompanyCode>666</CompanyCode>
<manager_id>999</manager_id>
</Data>
<Data>
<UniqueId>234</UniqueId>
<location>CZA</location>
<CostCenter>1111</CostCenter>
<CompanyCode>777</CompanyCode>
<manager_id>123</manager_id>
</Data>
</Root>

您还可能感兴趣的技能

雇主反馈

“Quick and Quality code from Brian”

个人主页照片 vamsekrishna51, India.

公共说明面板

还没有信息。

如何以竞赛开始

  • 发布您的竞赛

    发起您的竞赛 快速简单

  • 获取众多参赛作品

    获取大量参赛作品 来自世界各地

  • 悬赏最佳参赛作品

    悬赏最佳参赛作品 下载文件-简单!

立即发布竞赛 或者立即加入我们!