<GedcomRecords>

The <GedcomRecords> option can be used to add new logical records to your family tree, prepend new record fields to existing logical records, or to hide logical records. The <Sources> option should be used to add or modify source records, and the <Media> or <Gallery> option should be used to add or modify media records. There is probably no reason to add individual records using Gigatrees, and the non-standard GEDCOM location records can use the <Locations> option to repair coordinates. The <GedcomRecords> is generic so can also be used to add fields to any record type. The below example includes adding new locations records and their coordinates.

The last six options listed below (<HideAllIndividuals>, <HideAncestors>>, <KeepAncestors>>, <HideDescendants>>, <KeepPersons>> and <HidePersonsLivingBeforeDate>) were added so that you can strip/keep ancestors of an interested person and other select individuals. Using these options you can, for instance, set <HideAllIndividuals> to true, and then using <KeepAncestors>>, keep only the ancestors of the home person. <KeepDescendants>> can be set to the home person's parents or grandparents, to retain the home person's aunts, uncles, siblings and their children. <KeepPersons>> can then be set to keep other select individuals, such as spouses, and step-children. These options are processed in the order listed. Note: skipped persons will not be hidden by these options, as their names are needed by and only displayed in DNA tables and charts. When using the <DNA> option, you must also keep all ancestors of your DNA matches (who are not otherwise skipped) up to the MRCA, as these will not also be ancestors of the DNA tester who would need to be your home person or one of their kept ancestors.

Example

<GedcomRecords>
  <InsertRecord>   <RecordId> L2 </RecordId> <Tag> _PLAC </Tag> <Value> London, UK            </Value> </InsertRecord>
  <AddRecordField> <RecordId> L2 </RecordId> <Tag> LATI  </Tag> <Value> 51.5073219            </Value> </AddRecordField>
  <AddRecordField> <RecordId> L2 </RecordId> <Tag> LONG  </Tag> <Value> -0.1276474            </Value> </AddRecordField>

  <AddRecordField> <RecordId> I2 </RecordId> <Tag> EMAIL </Tag> <Value> bob.builder@email.com </Value> </AddRecordField>

  <HideRecords>       <Ids>  S20; S200; S2000; I1234; I1235; F1230  </Ids> </HideRecords> 
  
  <HideAllIndividuals> false </HideAllIndividuals>

  <HideAncestors>>    <Ids>  I234; I235  </Ids> </HideAncestors> 
  <KeepAncestors>>    <Ids>  I234; I235  </Ids> </KeepAncestors> 
  <KeepDescendants>>  <Ids>  I234; I235  </Ids> </KeepDescendants> 
  <HideDescendants>>  <Ids>  I234; I235  </Ids> </HideDescendants> 
  <KeepPersons>>      <Ids>  I234; I235  </Ids> </KeepPersons> 

  <HidePersonsLivingBeforeDate> -9999  </HidePersonsLivingBeforeDate>
  
</GedcomRecords>

Options

<InsertRecord>
This indicates the start of a new logical record.
<RecordId>
[ ]
An unique record id
<Tag>
[ ]
The GEDCOM logical record tag. This can be for a standard or non-standard record type.
<Value>
[ ]
The GEDCOM logical record data value, if defined.
<AddRecordField>
This tag indicates the start of a new record field to prepend to an existing record.
<RecordId>
[ ]
The record id of the logical record to modify
<Tag>
[ ]
The GEDCOM record field tag. This can be for a standard or non-standard record field type.
<Value>
[ ]
The GEDCOm record field data value, if defined.
<HideRecords>
This tag indicates the start of a hide records list.
<Ids>
[ ]
A semicolon-delimited list of unique record ids to exclude/hide from the family tree. This may include unused source records, unconnected individuals, etc.
<HideAllIndividuals>
[ false ]
Removes all persons from your your website.
<HideAncestors>
This tag indicates the start of a hide records list.
<Ids>
[ ]
A semicolon-delimited list of unique record ids to exclude/hide from the family tree.
<KeepAncestors>
This tag indicates the start of a hide records list.
<Ids>
[ ]
A semicolon-delimited list of unique record ids to exclude/hide from the family tree.
<KeepDescendants>
This tag indicates the start of a hide records list.
<Ids>
[ ]
A semicolon-delimited list of unique record ids to exclude/hide from the family tree.
<HideDescendants>
This tag indicates the start of a hide records list.
<Ids>
[ ]
A semicolon-delimited list of unique record ids to exclude/hide from the family tree.
<KeepPersons>
This tag indicates the start of a hide records list.
<Ids>
[ ]
A semicolon-delimited list of unique record ids to exclude/hide from the family tree.
<HidePersonsLivingBeforeDate>
[ -9999 ]
Removes all persons from your your website estimated or known to be living before the date configured.
Comments