Quote:
Originally Posted by Sarmat89
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.