Grouping XML using custom XSLT

We receive Xml message which has details spread across multiple nodes and we want to Consolidate/Group the related details to single node.Below is the sample input, the message contains multiple order . It has same order occurring multiple time but with different Item and desired

 
 
 
 
 
4 Star
(4)
Add to favorites
8/28/2013
E-mail Twitter del.icio.us Digg Facebook