"Simple" matrix transformation

Subject: "Simple" matrix transformation
From: "Eric E. Cohen" <cybercpa@xxxxxxxxxxx>
Date: Thu, 13 Jul 2000 01:54:06 -0400
Oh XSL gurus ...

I have an XML snippet, like this:

<group name="annualSalesHistory">
<group salesperson="lynn">
<item date="2000-07-15">2000</item>
<item date="1999-07-15">1500</item>
</group>
<group salesperson="terry">
<item date="2000-07-15">3000</item>
<item date="1999-07-15">2000</item>
</group>
<group salesperson=alex">
<item date="2000-07-15">1000</item>
<item date="1999-07-15">1200</item>
</group>
</group>

How difficult is it to present this data as a cross-tab, first with dates as
columns and salesperson as rows, and then with dates as rows and
salespersons as columns?

<eccn />


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread