Pieter De Praetere
and 3 contributors

NAME

Catmandu::Fix::lido_inscription - create a inscriptions node

SYNOPSIS

    lido_inscription(
        -transcription:    inscriptionTranscription,
        -descriptive_note: inscriptionDescription,
        -type:             inscriptionTranscription.type,
        -label:            inscriptionTranscription.label & descriptiveNote.label,
        -lang:             inscriptionDescription.lang & inscriptionTranscription.lang
    )

DESCRIPTION

Create a inscriptions node with a transcription and a descriptive note.

PARAMETERS

Required parameters

This fix has no required parameters.

Optional parameters

transcription and descriptive_note are optional path parameters.

transcription
descriptive_note

All other optional parameters are strings.

type
label
lang

MULTIPLE INSTANCES

Repeated invocations of the fix with the same path will result in a new set inscriptionDescription and inscriptionTranscription added to descriptiveMetadata.objectIdentificationWrap.inscriptionsWrap.inscriptions. No nodes will be overwritten.

EXAMPLE

Fix

    lido_inscription(
        -transcription:    recordList.record.transcription,
        -descriptive_note: recordList.record.transcription_description,
        -label:            inscription,
        -lang:             nl
    )

Result

    <lido:descriptiveMetadata>
        <lido:objectIdentificationWrap>
            <lido:inscriptionsWrap>
                <lido:inscriptions>
                    <lido:inscriptionTranscription xml:lang="nl" lido:label="inscription">Een generieke beschrijving.</lido:inscriptionTranscription>
                    <lido:inscriptionDescription>
                        <lido:descriptiveNoteValue xml:lang="nl" lido:label="inscription">Een generieke beschrijving.</lido:descriptiveNoteValue>
                    </lido:inscriptionDescription>
                </lido:inscriptions>
            </lido:inscriptionsWrap>
        </lido:objectIdentificationWrap>
      </lido:descriptiveMetadata>
      

SEE ALSO

Catmandu::LIDO and Catmandu

AUTHORS

Pieter De Praetere, pieter at packed.be

CONTRIBUTORS

Pieter De Praetere, pieter at packed.be
Matthias Vandermaesen, matthias.vandermaesen at vlaamsekunstcollectie.be

COPYRIGHT AND LICENSE

The Perl software is copyright (c) 2016 by PACKED vzw and VKC vzw. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.