Your source HTML pages must contain valid[1] XHTML
(“plain HTML” cannot be parsed by ebookc) and
preferably valid
XHTML5, because ebookc anyway generates
XHTML5 markup.
The html root element must have 1
head and 1 body child elements. The
head child element must have 1 title child
element.
1 2 3 4 5 6 7 8 9 10 | <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="UTF-8" /> <title>...</title> </head> <body> ... </body> </html> |
If you plan to use XMLmind XML Editor as your ebook authoring tool, do not forget to add attribute
class="role-ebook-page"to thehtmlroot element of your source HTML pages. XMLmind XHTML Editor detects this attribute and this will cause the editor to replace its stock "XHTML" menus and toolbars by extended "XHTML" menus and toolbars.
ebookc_install_dir/schema/ebook.xsd.