Prevent displaying duplicate infromation in xsl
I wonder if you could help me solve an xsl problem.
I have the following xml string:
<project code=â1â name=âcompany1â costName=âcost1â supplierName=âABC Ltdâ/>
<project code=â1â name=âcompany1â costName=âcost2â supplierName=âxxx Ltdâ/>
<project code=â2â name=âcompany2â costName=âcost1â supplierName=123 Ltdâ/>
What I really need to do is produce a report that shows the supplier name for each company. The cost name will be a column on the report and not a row.
Company Cost1 Cost2
Company1 ABC Ltd XXX Ltd
Company2 123 Ltd
Can it be done? If so, how?