NAME

Catmandu::Fix::lido_descriptivenote - create a descriptiveNoteValue in a path

SYNOPSIS

lido_descriptivenote(
    path,
    value,
    -lang: descriptiveNoteValue.lang,
    -label: descriptiveNoteValue.label
)

DESCRIPTION

Creates a descriptiveNoteValue in a path.

Parameters

Required parameters

path and value are required path parameters.

path
value

Optional parameters

All optional parameters are strings.

lang
label

EXAMPLE

Fix

lido_descriptivenote(
    descriptiveMetadata.eventWrap.eventSet.$last.event.eventDescriptionSet,
    recordList.record.creation_desc,
    -lang: nl
)

Result <lido:descriptiveMetadata> <lido:eventWrap> <lido:eventSet> <lido:event> <lido:eventDescriptionSet> <lido:descriptiveNoteValue xml:lang="nl">Een generieke beschrijving.</lido:descriptiveNoteValue> </lido:eventDescriptionSet> </lido:event> </lido:eventSet> </lido:eventWrap> </lido:descriptiveMetadata>