Changes

Jump to: navigation, search

Gramps XML

822 bytes added, 06:06, 2 August 2015
Gramps XML Resources
==Gramps XML Resources==
{{man note|Starting with Gramps XML 1.0, each |Each revision of Gramps XML has its own resource page, with references to that version's [https://en.wikipedia.org/wiki/Document_type_definition DTD ] and [https://en.wikipedia.org/wiki/RELAX_NG RELAX NG ] schema. <br />The resource pages are listed at [http://www.gramps-project.org/xml/ http://www.gramps-project.org/xml/].}}
{| class="wikitable sortable"
!Changes/Note
|-
| trunk/master/unstable| no change against 4.1 2 yet| >= 1.0.0 - best 1.5.17| 1718| Unreleased <br />[{{Code Browser}}ci/tree/master/tree/example/gramps/example.gramps example.gramps]
| Unreleased
|}
!Example
!Changes/Note
|-
| 4.2.x
| 1.7.0
| >= 1.0.0 - 1.7
| 18
|[{{Code Browser}}/tree/maintenance/gramps42/example/gramps/example.gramps]
|added PlaceNames (with Date and Language) Place<br />
|-
| 4.1.x
| >= 1.0.0 - best 1.5.1
| 17
|[{{Code Browser}}ci/tree/maintenance/gramps41/~example/treegramps/example/.gramps/]|added Tags to Event, Place, Repository, Source, and Citation<br />Source/Citation.data became SourceAttributes<br />added optional support for checksum on Media object<br />added PlaceRef and Place Hierarchies<br />
|-
|4.0.x
| >= 1.0.0 - best 1.4.0
|16
|[http:{{Code Browser}}//svn.code.sf.net/p/gramps/code/branchestree/maintenance/gramps40/example/gramps/example.gramps]
| -
|-
| >= 1.0.0 - best 1.4.0
|16
|[http:{{Code Browser}}//svn.code.sf.net/p/gramps/code/branchestree/maintenance/gramps34/example/gramps/example.gramps]
|Citations support<br />
Gramps XML is now idempotent[http://en.wikipedia.org/wiki/Idempotence].{{bug|4365}}<br />
| >= 1.0.0 - best 1.3.0
|15
|[http:{{Code Browser}}//svn.code.sf.net/p/gramps/code/branchestree/maintenance/gramps33/example/gramps/example.gramps]|[http:Added new field "locality" to the Place schema<br />Added surnames to the Name schema (surnames is a list of surnames / prefix and patronymic are moved to the surname)<br />Replaced Markers with Tags ( marker removed from all / tags added to Person, Media, Family, and Notes)<br />Transaction<br />Merging<br /www.gramps-project.org>Improvements on Import/wikiExport file formats (vcard, gedcom, xml)<br /index.php?title=>[[Gramps_3.3_Wiki_Manual_-_What%27s_new%3F#Database Changes]]
|-
|3.1.x
| >= 1.0.0 - best 1.1.0
|15
|[http:{{Code Browser}}//svn.code.sf.net/p/gramps/code/branchestree/maintenance/gramps31/example/gramps/example.gramps]|Added lat/long to places
|-
|3.0.x
| >= 1.1.0
|14
|[http:{{Code Browser}}//svn.code.sf.net/p/gramps/code/branchestree/maintenance/gramps30/example/gramps/example.gramps]
| added newyear to Dates<br />Replace plain text with StyledText in Notes
|-
| >= 0.0.0
|
|[http:{{Code Browser}}//svn.code.sf.net/p/gramps/code/branchestree/maintenance/gramps22/example/gramps/data.gramps]
|
|-
| >= 0.0.0
|13
|[http:{{Code Browser}}//svn.code.sf.net/p/gramps/code/branchestree/maintenance/gramps20/gramps2/example/gramps/data.gramps]
| changed name formats
|-
| -
|
|[http:{{Code Browser}}//svn.code.sf.net/p/gramps/code/branchestree/maintenance/gramps10/example/gramps/data.gramps]
|
|-
===RELAX NG generation===
Tools like [http://code.google.com/p/jing-trang/ trang] or [http://people.apache.org/~andyc/neko/doc/dtd/index.html NekoDTD] could help to convert a Gramps DTD file to a RELAX NG file.
Some others tools and up-to-date informations (''2010-09-19'') are listed on this [http://www.relaxng.org/ page].
==Validating Gramps XML file==
xmllint --noout filename.gramps
{{man warn|If the Gramps XML file does not validate|, this indicates an error in either the DTD or the XML Writer. <br>'''Please file the bug report at http://bugs.gramps-project.org in that case.'''}}
==Parsing Gramps XML file==
* [http://en.wikipedia.org/wiki/Greasemonkey Greasemonkey] scripts (Michiel Nauta)
* [http://www.gramps.van-staveren.net/ GrampsXMLview] is a number of PHP scripts in combination with a Gramps XML database.
* [https://github.com/claws/gramps2gource gramps2gource] for blurring the line between Genealogy and Software Configuration Management visualisation.
* ...

Navigation menu