All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xml.pub.add-metadata.xpl Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version



	
		

Inject new metadata into a EPUB package document.

The source fileset

Must include the package document.

A set of opf:metadata or opf:package documents. In case of the former, a prefix attribute is allowed on the root element. refines attributes must reference an element within the document itself.

The result fileset

A copy of the source fileset with the updated package document with the existing and new metadata merged. When the same metadata (the same property) exists in multiple input metadata documents, the first occurences win.

Whether to be backward compatible with Open Package Format 2.0.1.

The reserved prefix mappings of the resulting package document. By default, prefixes that are used but not declared in the input are also not declared in the output.

px:assert px:fileset-filter px:fileset-load pxi:merge-metadata pxi:opf3-to-opf2-metadata Load package document For compatibility with OPF 2, add a second meta element with "name" and "content" attributes for every meta element.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy