This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

"Simple" matrix transformation


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]