2007-11-30 Alex Roitman <shura@gramps-project.org>
* data/grampsxml.dtd: Add region to objref. * data/grampsxml.rng: Add region to objref. svn: r9436
This commit is contained in:
parent
d1b65054a9
commit
f92211cd7b
@ -1,3 +1,7 @@
|
||||
2007-11-30 Alex Roitman <shura@gramps-project.org>
|
||||
* data/grampsxml.dtd: Add region to objref.
|
||||
* data/grampsxml.rng: Add region to objref.
|
||||
|
||||
2007-11-30 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/GrampsCfg.py: rel media path entry box
|
||||
* src/gen/db/base.py: methods for access
|
||||
|
@ -427,12 +427,20 @@ SHARED ELEMENTS
|
||||
description CDATA #IMPLIED
|
||||
>
|
||||
|
||||
<!ELEMENT objref (attribute*,sourceref*,noteref*)>
|
||||
<!ELEMENT objref (region?,reattribute*,sourceref*,noteref*)>
|
||||
<!ATTLIST objref
|
||||
hlink IDREF #REQUIRED
|
||||
priv (0|1) #IMPLIED
|
||||
>
|
||||
|
||||
<!ELEMENT region EMPTY>
|
||||
<!ATTLIST region
|
||||
corner1_x CDATA #REQUIRED
|
||||
corner1_y CDATA #REQUIRED
|
||||
corner2_x CDATA #REQUIRED
|
||||
corner2_y CDATA #REQUIRED
|
||||
>
|
||||
|
||||
<!ELEMENT data_item EMPTY>
|
||||
<!ATTLIST data_item
|
||||
key CDATA #REQUIRED
|
||||
|
@ -555,6 +555,9 @@
|
||||
<optional><attribute name="priv">
|
||||
<ref name="priv-content"/>
|
||||
</attribute></optional>
|
||||
<optional><element name="region">
|
||||
<ref name="region-content"/>
|
||||
</element></optional>
|
||||
<zeroOrMore><element name="attribute">
|
||||
<ref name="attribute-content"/>
|
||||
</element></zeroOrMore>
|
||||
@ -593,4 +596,12 @@
|
||||
</element></zeroOrMore>
|
||||
</define>
|
||||
|
||||
<define name="region-content">
|
||||
<attribute name="corner1_x"><data type="integer"/></attribute>
|
||||
<attribute name="corner1_y"><data type="integer"/></attribute>
|
||||
<attribute name="corner2_x"><data type="integer"/></attribute>
|
||||
<attribute name="corner2_y"><data type="integer"/></attribute>
|
||||
<text/>
|
||||
</define>
|
||||
|
||||
</grammar>
|
||||
|
Loading…
Reference in New Issue
Block a user