Class: Mods::Name

Inherits:
Object
  • Object
show all
Defined in:
lib/mods/name.rb

Constant Summary collapse

CHILD_ELEMENTS =
['namePart', 'displayForm', 'affiliation', 'role', 'description']
ATTRIBUTES =

attributes on name node

Mods::AUTHORITY_ATTRIBS + Mods::LANG_ATTRIBS + ['type', 'displayLabel', 'usage', 'altRepGroup', 'nameTitleGroup']
TYPES =

valid values for type attribute on name node <name type=“val”/>

['personal', 'corporate', 'conference', 'family']
NAME_PART_TYPES =

valid values for type attribute on namePart node <name><namePart type=“val”/></name>

['date', 'family', 'given', 'termsOfAddress']