Example.gramps and 1.7.2 grampsxml.dtd

It still works, but only for few primary objects.
e.g., for places or people

<database xmlns="http://gramps-project.org/xml/1.7.2/">
   <people>
    <person id="">
      <name>
        <surname>Abbott</surname>
      </name>
    </person>
  </people>
  <places>
    <placeobj id="">
      <pname value="AK"/>
    </placeobj>
 </places>
 <sources>
   <source id="">
    <stitle>Import from test2.ged</stitle>
   </source>
  </sources>
</database>

So, one could import an external flat database, at a glance. In this case, a place database or a list of surnames, but could be census, individuals, events, sources, notes, etc.

About internal handles, it makes sense to keep them for an update or comparison. So, I do not want (or try to limit) any assignation on handle for this test.

Anyway, I wonder if a gramps xml reader viewer/reader could be useful? Maybe via a web app or a local one. I saw that streamlit provides a complete ecosystem for that, with few lines of code. Why not a transformer ? CSV Import or Text Import addon are providing something like this.

With gramps xml file format we have some validation tools. So, either play with the flexibility of gramps or let the control and check of data to xml file format (markups, tags, elements and attributes). This experimental list needs a minor update for Gramps 6.0 (maybe 5.2), but it gives a quick overview of a possible hierarchical “template” for looking at the content of our gramps xml files.

Nick,

I was no more able to provide a Pull Request (github account and n check issues).

-GRAMPS_XML_VERSION_TUPLE = (1, 7, 1)  # version for Gramps 4.2
+GRAMPS_XML_VERSION_TUPLE = (1, 7, 2)  # version for Gramps 6.0
1 Like