View Single Post
Old 12-02-2015, 04:10 PM   #201
Sarmat89
Fanatic
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 518
Karma: 2268308
Join Date: Nov 2015
Device: none
Quote:
Originally Posted by Hitch View Post
In XHTML, structurally, you care about Book-->Sections (if they exist)-->Headings-->Structure if any below headings, eg divs-->Paragraphs-->Spans/words/letters. That's it. In XML, the structure is everything. It has to be, by definition, very rigid, to do what you want it to. (Although, ironically, XML was supposed to be somewhat fluid by design.) You have the ability, in XHTML, to use a given class of paragraph style to suit multiple situations; you don't do that in XML.
It doesn't even make sense. XHTML must be a well-formed XML and have some kind of structure. It is no any different from a pure XML format.
Code:
<div class="letter">
<p class="lett1">Hello friend!</p>
<p>Blah</p>
</div>
and
Code:
<letter>
<salutation>Hello friend!</salutation>
<p>Blah</p>
</letter>
What is the difference? Those are both XML yet you claim the former is fundamentally more simple than latter.
Sarmat89 is offline   Reply With Quote