Quote:
Originally Posted by eschwartz
Why are we discussing xml at all? @ skreutzer, your problem is with calibre having the <u> tag, which isn't about xml it is about html and the epub standard.
A far as xml goes, the editor doesn't push bad xml on you. What are you arguing about, exactly?? 
|
Well ePub2 is really not html but xhtml no matter what extension may be on the files. xhtml is a particular well defined implementation of xml. ePub 2 uses xhtml 1.1 as its basis. The most glaring difference is that xhtml requires closing tags on everything that is not marked specifically as not needing one. <p> needs one and even <br> would need one unless you say <br/>. This is good practice in telling the parser what you really mean. Also tags are lower case. While ePub3 is based on html5 it still wants that sort of structure in the code.
Dale