View Single Post
Old 12-03-2015, 03:50 AM   #204
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by Sarmat89 View Post
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.
Wrong, in XHTML most sane ePUB creators would use something like:
Code:
<p class="letter">Hello friend!</p>
<p class="letter">Blah</p>
A lot easier and it also contains your precious semantics. It is still clearly defined as a letter. Styling is of course done in the stylesheet. No different than your XML example which also do not contain styling.
Toxaris is offline   Reply With Quote