4 ms·
Just to make it clear, HSS is directly replacing CSS. No markup there. You are missing the point, unfortuantely, the whole idea of the project is to sepparate
by matzipan 14y ago
Just to make it clear, HSS is directly replacing CSS. No markup there.
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.
- CodeMage 14y agoI believe you're missing his point: he said unify the syntax, not mix the data with the presentation.
- matzipan 14y agoOh, I totally understand. Thanks CodeMage. Sorry for the misunderstanding. 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.
- weavejester 14y agoI don't believe PommeDeTerre is saying that semantic information needs to be mixed with presentation information. He or she is asking why you have two different syntaxes when all you're doing in both cases is representing a nested tree. 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.