+void head_note_end(_ELT_END_PARAMS_)
+{
+ Gom_ctxt ctxt = (Gom_ctxt)self;
+
+ if (! ctxt)
+ NO_CONTEXT;
+ else {
+ struct header *head = SAFE_CTXT_CAST(header, ctxt);
+ if (head) {
+ char *str = GEDCOM_STRING(parsed_value);
+ char *newvalue = strdup(str);
+ if (! newvalue)
+ MEMORY_ERROR;
+ else
+ head->note = newvalue;
+ }
+ }
+}
+