[Okular-devel] Reading TOC using 'ebook-tools'
E L
nakeee at gmail.com
Fri Jul 12 08:53:31 UTC 2013
Hi,
Any chance you can send me the file which has problems?
The code was supposed to handle that case, maybe I got the wrong
xml function.
Thanks,
nakee
On Thu, Jul 11, 2013 at 6:07 PM, Jaydeep Solanki <jaydp17 at gmail.com> wrote:
> Hello,
> I guess PinoTree is the maintainer of 'ebook-tools'.
>
> I noticed that epubs with a prefix in toc.ncx don't succeed in parsing toc.
> In my case I have an epub which contains the following in toc.ncx:
> <ncx:elementName />
> where 'ncx' is a prefix.
>
> Seeing a function named '_get_possible_namespace', I thought it would be
> doing what I want, but I'm not sure it does the same.
>
> So I created a small function which compares key elements (like navPoint,
> navMap, etc.) with given prefix. In my case 'ncx'.
>
> I have seen that it is really rare of people using prefixes.
>
> BTW, is 'ncx' the default prefix ? or there can be others ?
>
> Cheers,
> Jaydeep
>
> _______________________________________________
> Okular-devel mailing list
> Okular-devel at kde.org
> https://mail.kde.org/mailman/listinfo/okular-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20130712/de9cd25b/attachment.html>
More information about the Okular-devel
mailing list