Flatten the tree
Consider the following XML input, which groups people into two categories-salaried and hourly:
Write an xslt that transforms the document in such a way that the document is re-categorized by removing the and categories and makes all elements direct descendants of the element. The hourly or salaried characteristic will become a new element or attribute of the element. The design of that reorganization is up to you, but the transformed document must retain the proper semantic context (meaning).Include all files in your submission.