bell notificationshomepageloginedit profileclubsdmBox

10% popularity   0 Reactions

If you are not going to use a ncx, my answer is no, you don't need to change this xhtml file at all.

I'm going to guess here. ns:ncx means that you are using a namespace called "ncx." A namespace is like an xml prefix. Somewhere -- maybe on another file --
you are referring to the ncx namespace, and the error is suggesting that you need to identify it within the HTML tag (where you have declared other namespaces (or "xmlns" in this file). Because ncx isn't referenced at all in this file, I assume that it's occurring in another file but showing up as an error for this file. As far as I can tell, this file itself looks completely fine.

I would look in the .opf file and try to remove the reference in the manifest section to the ncx file. (Mine looks like this:

<manifest> <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>

Just delete that line and see what happens. I assume you are trying to do without the ncx file as I suggested on the other thread?

I would look in the .opf file and try to remove the reference in the manifest section to the ncx file. (Mine looks like this: <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/> Just delete that line and see what happens. I assume you are trying to do without the ncx file as I suggested on the other thread?

Actually in the .opf file there is a whole section of references called <spine toc="ncx">. If you are doing without the ncx I would delete this entire SPINE section as well. As I said, removing all references to the the ncx file in the epub files is something I think would work in theory but I have never actually tried it. The important point is that you are referencing the <nav epub:type="toc"> correctly. This should be sufficient for epub validation.


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

Login to follow story

More posts by @Helen

0 Comments

Sorted by latest first Latest Oldest Best

 

Back to top