Re: Compound tags such as FAMC:HUSB:FAMC:HUSB:GIVN

[email protected] (Mikkel Eide Eriksen) Wed, 3 Aug 2011 07:49:19 +0200
Newsgroups perl.gedcom
Message-ID <[email protected]>
Hi Ron,

I'm not sure those have official names, but in my own coding, I've used the name "tagPath" (similar to a keyPath in Cocoa's Key-Value Coding). Not being overly familiar with Webtrees, I believe their usage is the same there.

I use tagPaths to go along the path from one record to another to fetch a value. That is, I don't use the tagPaths in the files themselves, but as a convenience in code. For example, if I have an individual, I can do indi.BIRT.PLAC to get their birthplace (or -s if multiple are recorded).

Regards,
Mikkel

On 03/08/2011, at 06.22, Ron Savage wrote:

> Hi Folks
> 
> In the source code of Webtrees I found a set of complex tags such as
> FAMC:HUSB:FAMC:HUSB:GIVN (Paternal grandfather\'s given name).
> 
> How much use do people make of these, or are they just for within code?
> 
> -- 
> Ron Savage
> http://savage.net.au/
> Ph: 0421 920 622
>