EPub阅读器XML?

时间:2011-12-02 07:54:04

标签: epub

我对此有疑问。如果我有OEBPS而不是OPS。我怎么解析它?请帮助我。

<container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0">
  <rootfiles>
    <rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>
  </rootfiles>
</container>

1 个答案:

答案 0 :(得分:3)

我假设您所说的路径名称不是EPUB规范的早期版本(名称OEBPS来自Open Ebook Publications Specification iirc)。

在这种情况下,full-path属性只是告诉您的阅读软件去哪里找到包文件。有什么问题?它只是一个不同的目录。您应该使用该属性来查找文件。

相关问题