LINQ goes so much further than just SQL and XML.
Something like this is just why I love LINQ, a LINQ query on an ASP.NET ListView controls items.
1: Dim items = From lvi In AspNetListViewControl.Items _
2: Where CType(lvi.FindControl("DropDownList1"), DropDownList).SelectedValue = someIntVar _
3: Select lvi)
Getting a ListViewItem's where the selected value of a DropDownList is set to the value I want. So simple, yet so powerful.
The observant among you will notice that this is in VB.net, not my native C#!! More on that soon! :)
If your in a rush, the home page is:
and you can download it from here:
Although new to all this MOSS stuff I am getting stuck in with the Content Query Web Part (CQWP) and XSL. They are a pretty powerful combination, but pretty soon I could see how this could become slightly wild and considering ListStyles.xsl is an "out of the box" file, getting crazy with custom files could become more of a problem than simply a huge file.
Check out these two posts on how to manage custom styles.
I guess it comes down to whether you are happy, or even able to edit the ListStyles.xsl file, number 1 is certainly the easiest route and my choice, but I can see value in having a CQWP instance for each style. I certainly am no fan of big changes in OOTB files, granularity is good :)