Thursday, May 10, 2007

Digits to Charts - The Code Project - SOAP and XML

Digits to Charts - The Code Project - SOAP and XML

This article presents several XSLT stylesheets for visualizing numerical data rows contained, as you may have guessed, within XML files. The article explains the details of stylesheet setup and the template design rationale.
Stylesheets for the following types of charts are described:
Bar graph:
simple (distinct rows, overlaid rows);
stacked;
stacked & normalized to 100%.
Histogram:
simple (distinct columns, overlaid columns);
stacked;
stacked & normalized to 100%.
This article assumes you are familiar with XSLT 1.0 and, to some extent, CSS Level 1.0 standards.