Catmandu::Fix::lido_basevalue - Create a basic XML node in a path
path
lido_basevalue( path, value, -pref: node.pref, -lang: node.lang, -label: node.label, -type: node.type )
Creates a basic XML node in a specified path. This fix can be used in places where a simple node is expected, but where the parent can have multiple nodes of this type. It can't be used for non-repeatable items.
path and value are required paths.
value
All optional parameters are strings.
pref
lang
label
type
lido_basevalue( descriptiveMetadata.objectRelationWrap.subjectWrap.subjectSet.displaySubject, recordList.record.object_name )
<lido:descriptiveMetadata> <lido:objectRelationWrap> <lido:subjectWrap> <lido:subjectSet> <lido:displaySubject>olieverfschilderij</lido:displaySubject> </lido:subjectSet> </lido:subjectWrap> </lido:objectRelationWrap> </lido:descriptiveMetadata>
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.