Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将 EPUB 中的所有 xml 文档合并到一个 xml 文件中?
您可能想看看Sigil 电子书编辑器 链接。我知道你可以手工完成,但可能有批处理功能。
您可以使用 XSLT 2.0 相对快速地完成它:
请参阅 document() 和 collection() 函数来读取文件。
使用标识模板复制每个文档的内容。
使用 XSLT 的优点之一是您一定会获得格式良好的 XML。
我会尽快发布样本。