I’m not sure I’m thinking right here, and also this is not my mother tongue, so please be kind to me if I suggest something obvious.
Anyway. Wouldn’t it be possible to style all links, both “parent links” and “children”, with folder images, addressing them with “.sitemap a”, and then style all child links (overriding the style above) with “files images”, addressing them with “.sitemap ul a”?
The only problem I see with this (although I’m the first to admit this is a very serious limitation) is that you will only be able to have two levels of links: parents and children; no children with children. As long as we know the information will only be in two levels, wouldn’t this be a possible solution, avoiding the “parent” class?
By the way, I do also agree with this article being a little to simple for ALA, but I can understand that if it was a while since you wrote it. Still, just as Jeremy, I was a little disappointed. I would be glad to find out how to address the parents and children without using a “.parent” and with the code being flexible enough for 1, 2, and many levels of information.
Happy Aprils Fools Day, everybody.