OPFDC

An OPF <dc:...> metadatum.

This class can be used for both EPUB 2 and EPUB 3 DC metadata.

class yael.opfdc.OPFDC(internal_path=None, obj=None, string=None)[source]

Build an OPF <dc:...> metadatum or parse it from obj or string.

v_dir

The value of the dir attribute. EPUB 3 only.

Return type:str
v_id

The value of the id attribute.

Return type:str
v_opf_event

The value of the opf:event attribute. EPUB 2 only.

Return type:str
v_opf_file_as

The value of the opf:file-as attribute. EPUB 2 only.

Return type:str
v_opf_role

The value of the opf:role attribute. EPUB 2 only.

Return type:str
v_opf_scheme

The value of the opf:scheme attribute. EPUB 2 only.

Return type:str
v_tag

The tag of this metadatum.

Return type:str
v_text

The text of this metadatum.

Return type:str
v_xml_lang

The value of the xml:lang attribute. EPUB 3 only.

Return type:str