by matzipan · 14y ago · 0 comments
You are missing the point, unfortuantely, the whole idea of the project is to sepparate the data from the presentation. Mixing them together would be pretty similar to what HTML was in 2005. Not desirable.
For example, you could have your data structure as:
(books (book (title "Little Schemer")))
And then define your presentation as: (books (book (title (:color "ff6666"))))
I'm not saying that this is necessarily the best representation, but it's more consistent and simpler for a machine to parse than XML/HSS.XML is a widely-used data interchange format. It is well known and used. It's focus is the actual content.
The syntax of HSS/CSS focuses on attributes. Makes for a perfect use in this case.