Guest User

Untitled

a guest
May 27th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?><root>
  2. <PayrunDetails>
  3. <PayrunNumber>000777</PayrunNumber>
  4. <PaidDate>2018-05-15</PaidDate>
  5. </PayrunDetails>
  6. <PayLocation>
  7. <LocationCode>ACT</LocationCode>
  8. <LocationDescription>ACT</LocationDescription>
  9. <CompanyDetails>
  10. <CCode>APPLE</CCode>
  11. <CName>APPLE Limited</CName>
  12. <Payslip>
  13. <StaffNumber>12345</StaffNumber>
  14. <BankDetails>
  15. <BankAccountNo>121212</BankAccountNo>
  16. </BankDetails>
  17. <PayDetails>
  18. <PayType>NORMAL</PayType>
  19. <AmountGross>9999</AmountGross>
  20. <ComponentDetails ID="1">
  21. <ComponentType>SALARY</ComponentType>
  22. <Amount>1999</Amount>
  23. <YTDAmount>10616</YTDAmount>
  24. </ComponentDetails>
  25. <ComponentDetails ID="3">
  26. <ComponentType>TAXABLE</ComponentType>
  27. <Amount>505</Amount>
  28. <YTDAmount>7703</YTDAmount>
  29. </ComponentDetails>
  30. </PayDetails>
  31. </Payslip>
  32. <Payslip>
  33. <StaffNumber>45555</StaffNumber>
  34. <BankDetails>
  35. <BankAccountNo>131313</BankAccountNo>
  36. </BankDetails>
  37. <PayDetails>
  38. <PayType>NORMAL</PayType>
  39. <AmountGross>9999</AmountGross>
  40. <ComponentDetails ID="1">
  41. <ComponentType>SALARY</ComponentType>
  42. <Amount>1999</Amount>
  43. <YTDAmount>10616</YTDAmount>
  44. </ComponentDetails>
  45. <ComponentDetails ID="2">
  46. <ComponentType>GROSS</ComponentType>
  47. <Amount>7305</Amount>
  48. <YTDAmount>76703</YTDAmount>
  49. </ComponentDetails>
  50. <ComponentDetails ID="3">
  51. <ComponentType>TAXABLE</ComponentType>
  52. <Amount>305</Amount>
  53. <YTDAmount>6703</YTDAmount>
  54. </ComponentDetails>
  55. </PayDetails>
  56. </Payslip>
  57. </CompanyDetails>
  58. </PayLocation>
  59. </root>
  60.  
  61. select="ComponentDetails[ComponentType='SALARY']"
Add Comment
Please, Sign In to add comment