This allows an easy mechanism to edit particular records without specifying them each time.

set_active_record(gedcom, xref)

Arguments

gedcom

A tidyged object.

xref

The xref of the record to activate.

Value

The same tidyged object with an "active_record" attribute set to the xref of the record