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

[email protected] (Ron Savage) Wed, 03 Aug 2011 17:34:33 +1000
Newsgroups perl.gedcom
Message-ID <[email protected]>
Hi Mikkel

On Wed, 2011-08-03 at 07:49 +0200, Mikkel Eide Eriksen wrote:
> 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).

Yes, I suspected they were data access shortcuts.

-- 
Ron Savage
http://savage.net.au/
Ph: 0421 920 622