Need help to build XSLT. For the below XML, need to print records based on below calculations. Data in Text format.
Rules,
Cost need to be totaled for