NAME
Catmandu::Fix::LIDO::Term::emit_term
SYNOPSIS
emit_term(
$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).
$term, # Path (string) to the value of the term component (required).
$conceptid, # Path (string) to the value of the conceptID component.
$lang, # xml:lang attribute, string.
$pref, # pref attribute, string.
$source, # source attribute, string.
$type # type attribute, string.
)
DESCRIPTION
This function will generate the necessary emit code to generate a term
node in a given path consisting of term
and conceptID
. The node is attached directly to the path, so you must specify the name of the term (e.g. category) in the $path.