NAME

Catmandu::Fix::LIDO::Nameset::emit_nameset

SYNOPSIS

emit_nameset(
    $fixer, # The fixer object from the calling emit function inside the calling Fix (required).
    $root, # The root path (string) from which the path parameter must be created (required).
    $path, # The path (string) for the nameset - must include the name of the nameset node (required).
    $appellation_value, # The value of the appellationValue component of the nameset, as a string path (required).
    $appellation_value_lang, # appellationValue.lang attribute, string.
    $appellation_value_type, # appellationValue.type attribute, string.
    $appellation_value_pref, # appellationValue.pref attribute, string.
    $source_appellation, # Value of the sourceAppellation component, as a string path (required).
    $source_appellation_lang # sourceAppellation.lang, string.
)

DESCRIPTION

This function will generate the necessary emit code to generate a nameset node, consisting of appellationValue and sourceAppellation, in a given path. The node is attached directly to the path, so you must specify the name of the nameset (e.g. titleSet) in the $path.