2007-12-09 Alex Roitman <shura@gramps-project.org>
* data/grampsxml.rng: Add namemaps. * data/grampsxml.dtd: Add namemaps. svn: r9472
This commit is contained in:
parent
00ec7a7ddb
commit
037893413b
@ -1,3 +1,7 @@
|
||||
2007-12-09 Alex Roitman <shura@gramps-project.org>
|
||||
* data/grampsxml.rng: Add namemaps.
|
||||
* data/grampsxml.dtd: Add namemaps.
|
||||
|
||||
2007-12-07 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
Add support for name grouping import/export
|
||||
* src/GrampsDb/_GrampsDbBase.py: obtain grouping keys
|
||||
|
@ -52,7 +52,8 @@ DATABASE
|
||||
-->
|
||||
|
||||
<!ELEMENT database (header, name-formats?, events?, people?, families?,
|
||||
sources?, places?, objects?, repositories?, bookmark?)>
|
||||
sources?, places?, objects?, repositories?,
|
||||
bookmarks?, namemaps?)>
|
||||
<!ATTLIST database xmlns CDATA #FIXED "http://gramps-project.org/xml/1.1.4/">
|
||||
|
||||
<!-- ************************************************************
|
||||
@ -315,6 +316,17 @@ BOOKMARKS
|
||||
hlink IDREF #REQUIRED
|
||||
>
|
||||
|
||||
<!-- ************************************************************
|
||||
NAME MAPS
|
||||
-->
|
||||
<!ELEMENT namemaps (map)*>
|
||||
<!ELEMENT map EMPTY>
|
||||
<!ATTLIST map
|
||||
type CDATA #REUIRED
|
||||
key CDATA #REQUIRED
|
||||
value CDATA #REQUIRED
|
||||
>
|
||||
|
||||
<!-- ************************************************************
|
||||
NAME FORMATS
|
||||
-->
|
||||
|
@ -104,6 +104,11 @@
|
||||
</element></zeroOrMore>
|
||||
</element></optional>
|
||||
|
||||
<optional><element name="namemaps">
|
||||
<zeroOrMore><element name="map">
|
||||
<ref name="map-content"/>
|
||||
</element></zeroOrMore>
|
||||
</element></optional>
|
||||
</element></start>
|
||||
|
||||
<define name="researcher-content">
|
||||
@ -451,6 +456,14 @@
|
||||
<attribute name="hlink"><data type="IDREF"/></attribute>
|
||||
</define>
|
||||
|
||||
<define name="map-content">
|
||||
<attribute name="type"><choice>
|
||||
<value>group_as</value>
|
||||
</choice></attribute>
|
||||
<attribute name="key"><text/></attribute>
|
||||
<attribute name="value"><text/></attribute>
|
||||
</define>
|
||||
|
||||
<define name="format-content">
|
||||
<attribute name="number"><text/></attribute>
|
||||
<attribute name="name"><text/></attribute>
|
||||
|
Loading…
Reference in New Issue
Block a user