Catmandu::Fix::lido_baseid - Create a basic id component in a path
path
lido_baseid( path, id_value, -type: ID.type, -source: ID.source, -label: ID.label )
This component will assist in the creation of generic LIDO ID nodes, of the form <lido:ID attributesvalue</lido:ID>>.
<lido:ID attributes
The nodes will be created in the path provided by path.
The parameters path and id_value are mandatory paths.
id_value
All optional parametes are strings.
type
source
label
lido_baseid( lidoRecID, recordList.record.object_number, -source: 'Museum voor Schone Kunsten Gent', -type: 'global', -label: 'dataPID' )
<lido:lidoRecID lido:type="global" lido:source="Museum voor Schone Kunsten Gent" lido:label="dataPID">1812-A</lido:lidoRecID>
Repeated invocations of the fix with the same path will result in a new ID node at the specified path. No nodes will be overwritten.
Catmandu::LIDO and Catmandu
pieter at packed.be
matthias.vandermaesen at vlaamsekunstcollectie.be
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.
To install Catmandu::LIDO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::LIDO
CPAN shell
perl -MCPAN -e shell install Catmandu::LIDO
For more information on module installation, please visit the detailed CPAN module installation guide.