I have an input XML and default XSL files that transforms into HTML. (The actual file will be shown to the winner only.)
XML will have some elements with parent-child relationship (2 levels). E.g. to simplify
<item **path**="abc" /> and <item **path**="xyz" **parent**="abc" **order**="1" isChild="true"/>
Currently all the items are rendered unordered. What I need is:
Group parent-child items together and render them as
· parent
o child 1
o child 2
o ...
ordering will be done based on child's attribute "**order**".
The position of parent element in the output should be the earliest occurrence of parent-childs. So if the parent exists and is 10th place, the child is 5th place, then the whole parent-child set should be on 5th place.
If there is NO parent element for the child, one must be rendered anyways based on **path** attribute.
## Deliverables
1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No 3rd party components unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).
## Platform
XSL1.0. Will be tested as rendered in Asp.Net with .Net 3.5 framework. Shouldn't matter much as far it isnt Java