--------------090004090500020205060601
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Florian Gross wrote:

> I've also attached sample output for the file given on 
> http://heiner-eichmann.de/gedcom/simple.ged

....to this follow-up posting. ;)

--------------090004090500020205060601
Content-Type: text/plain;
 nameutput.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filenameutput.txt"

Pretty-printed:
{"HEAD"  {"CHAR"ASCII",
   "SUBM"    {:value      {"NAME"/Submitter/",
       "ADDR"Submitters address\naddress continued here"}},
   "SOUR"ID_OF_CREATING_FILE",
   "GEDC""FORM"Lineage-Linked", "VERS"5.5"}},
 "SUBM"  {"NAME"/Submitter/",
   "ADDR"Submitters address\naddress continued here"},
 "TRLR"},
 "FAM"  {"HUSB"    {:value      {"NAME"/Father/",
       "FAMS":value...}},
       "SEX"M",
       "BIRT""PLAC"birth place", "DATE"1 JAN 1899"},
       "DEAT""PLAC"death place", "DATE"31 DEC 1990"}}},
   "CHIL"    {:value      {"NAME"/Child/",
       "BIRT""PLAC"birth place", "DATE"31 JUL 1950"},
       "DEAT""PLAC"death place", "DATE"29 FEB 2000"},
       "FAMC":value...}}}},
   "MARR""PLAC"marriage place", "DATE"1 APR 1950"},
   "WIFE"    {:value      {"NAME"/Mother/",
       "FAMS":value...}},
       "SEX"F",
       "BIRT""PLAC"birth place", "DATE"1 JAN 1899"},
       "DEAT""PLAC"death place", "DATE"31 DEC 1990"}}}},
 "INDI"  [{"NAME"/Father/",
    "FAMS"     {:value       {"HUSB":value...}},
        "CHIL"         {:value           {"NAME"/Child/",
            "BIRT""PLAC"birth place", "DATE"31 JUL 1950"},
            "DEAT""PLAC"death place", "DATE"29 FEB 2000"},
            "FAMC":value...}}}},
        "MARR""PLAC"marriage place", "DATE"1 APR 1950"},
        "WIFE"         {:value           {"NAME"/Mother/",
            "FAMS":value...}},
            "SEX"F",
            "BIRT""PLAC"birth place", "DATE"1 JAN 1899"},
            "DEAT""PLAC"death place", "DATE"31 DEC 1990"}}}}},
    "SEX"M",
    "BIRT""PLAC"birth place", "DATE"1 JAN 1899"},
    "DEAT""PLAC"death place", "DATE"31 DEC 1990"}},
   {"NAME"/Mother/",
    "FAMS"     {:value       {"HUSB"         {:value           {"NAME"/Father/",
            "FAMS":value...}},
            "SEX"M",
            "BIRT""PLAC"birth place", "DATE"1 JAN 1899"},
            "DEAT""PLAC"death place", "DATE"31 DEC 1990"}}},
        "CHIL"         {:value           {"NAME"/Child/",
            "BIRT""PLAC"birth place", "DATE"31 JUL 1950"},
            "DEAT""PLAC"death place", "DATE"29 FEB 2000"},
            "FAMC":value...}}}},
        "MARR""PLAC"marriage place", "DATE"1 APR 1950"},
        "WIFE":value...}}}},
    "SEX"F",
    "BIRT""PLAC"birth place", "DATE"1 JAN 1899"},
    "DEAT""PLAC"death place", "DATE"31 DEC 1990"}},
   {"NAME"/Child/",
    "BIRT""PLAC"birth place", "DATE"31 JUL 1950"},
    "DEAT""PLAC"death place", "DATE"29 FEB 2000"},
    "FAMC"     {:value       {"HUSB"         {:value           {"NAME"/Father/",
            "FAMS":value...}},
            "SEX"M",
            "BIRT""PLAC"birth place", "DATE"1 JAN 1899"},
            "DEAT""PLAC"death place", "DATE"31 DEC 1990"}}},
        "CHIL":value...}},
        "MARR""PLAC"marriage place", "DATE"1 APR 1950"},
        "WIFE"         {:value           {"NAME"/Mother/",
            "FAMS":value...}},
            "SEX"F",
            "BIRT""PLAC"birth place", "DATE"1 JAN 1899"},
            "DEAT""PLAC"death place", "DATE"31 DEC 1990"}}}}}}]}

As YAML:
--- 
HEAD: 
  CHAR: ASCII
  SUBM: 
    :value: &id001 
      NAME: "/Submitter/"
      ADDR: >-
        Submitters address

        address continued here

  SOUR: ID_OF_CREATING_FILE
  GEDC: 
    FORM: Lineage-Linked
    VERS: "5.5"
SUBM: *id001
TRLR: {}
FAM: &id002 
  HUSB: 
    :value: &id003 
      NAME: "/Father/"
      FAMS: 
        :value: *id002
      SEX: M
      BIRT: 
        PLAC: birth place
        DATE: 1 JAN 1899
      DEAT: 
        PLAC: death place
        DATE: 31 DEC 1990
  CHIL: 
    :value: &id005 
      NAME: "/Child/"
      BIRT: 
        PLAC: birth place
        DATE: 31 JUL 1950
      DEAT: 
        PLAC: death place
        DATE: 29 FEB 2000
      FAMC: 
        :value: *id002
  MARR: 
    PLAC: marriage place
    DATE: 1 APR 1950
  WIFE: 
    :value: &id004 
      NAME: "/Mother/"
      FAMS: 
        :value: *id002
      SEX: F
      BIRT: 
        PLAC: birth place
        DATE: 1 JAN 1899
      DEAT: 
        PLAC: death place
        DATE: 31 DEC 1990
INDI: 
  - *id003
  - *id004
  - *id005

As XML:
<gedcom>
  <head>
    <char>ASCII</char>
    <subm>
      <ref toSUBMITTER@" />
    </subm>
    <sour>ID_OF_CREATING_FILE</sour>
    <gedc>
      <form>Lineage-Linked</form>
      <vers>5.5</vers>
    </gedc>
  </head>
  <subm idSUBMITTER@">
    <name>/Submitter/</name>
    <addr>Submitters address
address continued here</addr>
  </subm>
  <trlr />
  <fam idFAMILY@">
    <husb>
      <ref toFATHER@" />
    </husb>
    <chil>
      <ref toCHILD@" />
    </chil>
    <marr>
      <plac>marriage place</plac>
      <date>1 APR 1950</date>
    </marr>
    <wife>
      <ref toMOTHER@" />
    </wife>
  </fam>
  <indi idFATHER@">
    <name>/Father/</name>
    <fams>
      <ref toFAMILY@" />
    </fams>
    <sex>M</sex>
    <deat>
      <plac>death place</plac>
      <date>31 DEC 1990</date>
    </deat>
    <birt>
      <plac>birth place</plac>
      <date>1 JAN 1899</date>
    </birt>
  </indi>
  <indi idMOTHER@">
    <name>/Mother/</name>
    <fams>
      <ref toFAMILY@" />
    </fams>
    <sex>F</sex>
    <deat>
      <plac>death place</plac>
      <date>31 DEC 1990</date>
    </deat>
    <birt>
      <plac>birth place</plac>
      <date>1 JAN 1899</date>
    </birt>
  </indi>
  <indi idCHILD@">
    <name>/Child/</name>
    <deat>
      <plac>death place</plac>
      <date>29 FEB 2000</date>
    </deat>
    <birt>
      <plac>birth place</plac>
      <date>31 JUL 1950</date>
    </birt>
    <famc>
      <ref toFAMILY@" />
    </famc>
  </indi>
</gedcom>

--------------090004090500020205060601--