ocrd_models.ocrd_agent module

API to mets:agent

class ocrd_models.ocrd_agent.OcrdAgent(el=None, name=None, _type=None, othertype=None, role=None, otherrole=None)[source]

Bases: object

Represents a <mets:agent>

property name

Get the mets:name element value.

property otherrole

Get the OTHERROLE attribute value.

property othertype

Get the OTHERTYPE attribute value.

property role

Get the ROLE attribute value.

property type

Get the TYPE attribute value.