NAME
Catmandu::Fix::lido_baseid - Create a basic id component in a path
SYNOPSIS
lido_baseid(
path,
id_value,
-type: ID.type,
-source: ID.source,
-label: ID.label
)
DESCRIPTION
This component will assist in the creation of generic LIDO ID nodes, of the form <lido:ID attributes
value</lido:ID>>.
The nodes will be created in the path provided by path
.
Parameters
Required parameters
The parameters path
and id_value
are mandatory paths.
path
id_value
Optional parameters
All optional parametes are strings.
type
source
label
EXAMPLE
Fix
lido_baseid(
lidoRecID,
recordList.record.object_number,
-source: 'Museum voor Schone Kunsten Gent',
-type: 'global',
-label: 'dataPID'
)
Result
<lido:lidoRecID lido:type="global" lido:source="Museum voor Schone Kunsten Gent" lido:label="dataPID">1812-A</lido:lidoRecID>