Thanks.
Getting the list of used styles should be fairly straightforward if we're just looking for classes that are used. The internal XML parsers that are used can list them like this script. How to list them is another matter.
But parsing the CSS files to find the unused items is entirely different. There are a lot more ways to define items in the CSS than I've used.
An interesting challenge to look into for a later version.
|