View Single Post
Old 06-09-2009, 01:09 PM   #12
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by ahi View Post
My point above was that while HTML/XHTML must yield semantic coherence and/or consistency to some degree in favour of actually having it displayed right across the board, an XML language that is not concerned with display logistics is more free to mark information up more concisely and succinctly, and eminently parseably (with the program less likely to get confused what a given combination of tags actually mean).
Perhaps the following can be an illustration.

I just realized that XHTML forbids block content inside a <p> element. So you cannot have a <div> inside a <p>. Is this sensible? Maybe, but I wanted to have <div>'s inside <p>'s for cases when a piece of poetry is inserted in a character's speech, and the text resumes after it with no indentation or whatever. I can work around this by having a <p>, then a <div> and then a <p> with no indentation, but the logical structure would be a <div> inside a <p>.

By not being limited by XHTML, this issue can be avoided. Is this the kind of thing you mean?
Jellby is offline   Reply With Quote