Not sure if i can post the XSL related query here, but I faced this challenge while working on ICS
Summary
Not sure if i can post the XSL related query here, but I faced this challenge while working on ICSContent
I have source XML as below , need to construct XSL such that output shows employee with ADet with Attribute Action D on the top and ADet element should be top in each employee followed by remaining tags(refer results section).Let me know if more details needed.
Input:
<Employees>
<Employee EmployeeNo="12345">
<YPDets abc="1235" xyz="1234"/>
<ZPDets def="1258" rst="21581"/>
</Employee>
<Employee EmployeeNo="154223">
<YPDets abc="1234" xyz="1234"/>
<ZPDets def="1258" rst="21581"/>
<ADet Action="U"/>
<ADet Action="D"/>
</Employee>
<Employee EmployeeNo="154567">
<ADet Action="D"/>
0