Desperate for xslt help!
Posted: Sun Apr 06, 2008 4:53 pm
Hi,
Firstly I am new to xslt. Like us all, a new project just got thrown on my lap and I need to have these reports by Tuesday morning. I just love my job.
I have a custom list that is in xml format coming from a SQL2005db. I need to do some filtering on this list.
I need to generate the following reports based on the data from this list:
1. Number of Customers for the year.
Within the record there is a field called 'Project Start Date'. I want to be able to filter against this date in displaying number of customers for a selected year. One of the problems I am having is truncating the date down to just filtering against the year and not the whole date/time string.
2. Percentage of customers based upon currency.
We have many customers who pay with differing currencies. I need to be able to display what percentage of customers are paying in any of the acceptable currencies.
I am new to xslt so any information or suggestions you can give me would be greatly apprecitated.
Also, if anyone knows of a link or resource that has a list of commonly used xslt formulas that would be great.
Sincerely,
Tim
Firstly I am new to xslt. Like us all, a new project just got thrown on my lap and I need to have these reports by Tuesday morning. I just love my job.

I have a custom list that is in xml format coming from a SQL2005db. I need to do some filtering on this list.
I need to generate the following reports based on the data from this list:
1. Number of Customers for the year.
Within the record there is a field called 'Project Start Date'. I want to be able to filter against this date in displaying number of customers for a selected year. One of the problems I am having is truncating the date down to just filtering against the year and not the whole date/time string.
2. Percentage of customers based upon currency.
We have many customers who pay with differing currencies. I need to be able to display what percentage of customers are paying in any of the acceptable currencies.
I am new to xslt so any information or suggestions you can give me would be greatly apprecitated.
Also, if anyone knows of a link or resource that has a list of commonly used xslt formulas that would be great.
Sincerely,
Tim