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>

name

Get the mets -- name element value.

otherrole

Get the OTHERROLE attribute value.

othertype

Get the OTHERTYPE attribute value.

role

Get the ROLE attribute value.

type

Get the TYPE attribute value.