<Placeholders>

The <Placeholders> option is used to perform a global replacement of GEDCOM data. Commonly this is used to replace image file paths, but can be used to replace any garbled text as long as that text is unique. When defined, it will replace all occurrences found in GEDCOM field data.

Example

<Placeholders>
  <Placeholder>       <Name> c:\folder\pics\ </Name> <Content> file://c:/folder/pics/        </Content> </Placeholder>
  <Placeholder>       <Name> c:\folder\imgs\ </Name> <Content> http://domain.com/site/imgs/  </Content> </Placeholder>
  <Placeholder>       <Name> %SERVER%        </Name> <Content> /home/site/dbs                </Content> </Placeholder>
  <Placeholder>       <Name> %DOMAIN%        </Name> <Content> http://domain.com/site/       </Content> </Placeholder>
  
  <Placeholder>       <Name> %KEYWORD%       </Name> <Content> Genealogy                     </Content> </Placeholder>
  <PlaceholderAppend> <Name> %KEYWORD%       </Name> <Content> , Family Tree                 </Content> </PlaceholderAppend>
</Placeholders>

Options

<Placeholder>
This tag indicates the start of new placeholder.
<Name>
[ ]
This is the name of the placeholder.
<Content>
[ ]
This is the content to substitute for the placeholder.
<PlaceholderAppend>
This tag indicates the start of an existing placeholder.
<Name>
[ ]
This is the name of the placeholder. If the placeholder does not already exist, a new one will be created.
<Content>
[ ]
This is the content to append to a placeholder.
Comments