View Single Post
Old 03-06-2024, 03:03 AM   #7
Randrewy
Junior Member
Randrewy began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2024
Device: pocketbook 740
Quote:
But that should be present in the source CFI as well, so there should be no need to add it.
If I read specs correctly epubcfi indirections points into root element right away, there is no need to enter it with `/2`.

This is from specification:
Quote:
If a step, or a sequence of steps, points to an element that references another document <...> The following expression is then resolved from the root element of the referenced XML document, or from the targeted XML fragment (when specified).

Quote:
Because calibre already has a perfectly good standard for this. It's own.
Ok, I got you, I now have a conversion algorithm, it suits my needs.
Randrewy is offline   Reply With Quote