Re: Create and individual with a specific xref?

[email protected] (Mikkel Eide Eriksen) Fri, 11 Jan 2013 20:07:08 +0100
Newsgroups perl.gedcom
Message-ID <[email protected]>
Hi Steve

AFAIK the gedcom standard does not impose any restrictions on whether an =
app may modify an xref, so there's no guarantee that an xref will =
survive being opened in "some app". You're probably only using your own =
code for these files, though, so that might not be an issue. Anyway, =
maybe you can use one of the following tags:

    +1 RFN <PERMANENT_RECORD_FILE_NUMBER>  {0:1}
    +1 REFN <USER_REFERENCE_NUMBER>  {0:M}
      +2 TYPE <USER_REFERENCE_TYPE>  {0:1}
    +1 RIN <AUTOMATED_RECORD_ID>  {0:1}

Regards,
Mikkel

On 11/01/2013, at 15.46, Stephen Woodbridge <[email protected]> =
wrote:

> Hi All,
>=20
> Is it possible to create and individual and set the xref to a specific =
value?
>=20
> The use case for this is to maintain consistent references between =
various files and/or when the xref is used as a persistent reference for =
a web application.
>=20
> For example, I am parsing some web pages that use the xref for =
individuals in the url. I would like to maintain these in the Gedcom =
file I create so when I later regenerate the pages I can maintain the =
same url to individuals relationship.
>=20
> Thoughts?
>=20
> -Steve