3 ms·
I 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
by weavejester 14y ago
I 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.