The initial config object, originally filled by the user (respec puts a copy of this object, as JSON, into the header of the generated content.
The URL of the document to be processed
The DOM element, as returned from parsing
The DOM HTML element of the main document
The class used for the generation of the EPUB opf file
[Debug] Whether the opf instance should be should be printed to the console instead of generating an EPUB file
Process version used to generate this file. The possible values are 2016 and 2021
List of extra resources, to be added to the opf file and into the final EPUB file. The main role of the create_epub_from_dom
function is to collect all relevant resources; once done, this array is used to generate the final
package.opf
file
as well as to collect the resources themselves and add them to the final epub file.
[Debug] Whether trace information should be printed to the console
Interface of the "Global" data, to be used by various utilities