2005-12-06 12:08:09 +05:30
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
# Gramps - a GTK+/GNOME based genealogy program
|
|
|
|
#
|
2007-02-21 08:59:52 +05:30
|
|
|
# Copyright (C) 2005-2007 Donald N. Allingham
|
2011-08-30 18:04:46 +05:30
|
|
|
# Copyright (C) 2010-2011 Nick Hall
|
2005-12-06 12:08:09 +05:30
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2014-08-09 07:59:07 +05:30
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2005-12-06 12:08:09 +05:30
|
|
|
|
|
|
|
# Written by Alex Roitman
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
This is the RELAX NG schema for the GRAMPS XML genealogy data format.
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<grammar
|
|
|
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
|
2013-10-20 22:17:38 +05:30
|
|
|
ns="http://gramps-project.org/xml/1.5.1/"
|
2005-12-06 12:08:09 +05:30
|
|
|
xmlns="http://relaxng.org/ns/structure/1.0">
|
|
|
|
|
|
|
|
<start><element name="database">
|
|
|
|
|
|
|
|
<element name="header">
|
|
|
|
<element name="created">
|
|
|
|
<attribute name="date"><data type="date"/></attribute>
|
|
|
|
<attribute name="version"><text/></attribute>
|
|
|
|
</element>
|
2011-09-29 21:32:49 +05:30
|
|
|
<element name="researcher">
|
|
|
|
<optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<ref name="researcher-content"/>
|
2011-09-29 21:32:49 +05:30
|
|
|
</optional>
|
|
|
|
</element>
|
|
|
|
<optional>
|
|
|
|
<element name="mediapath"><text/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element>
|
|
|
|
|
2006-07-28 01:41:56 +05:30
|
|
|
<optional><element name="name-formats">
|
|
|
|
<zeroOrMore><element name="format">
|
|
|
|
<ref name="format-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<optional><element name="tags">
|
|
|
|
<zeroOrMore><element name="tag">
|
|
|
|
<ref name="tag-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
2006-01-29 10:42:01 +05:30
|
|
|
<optional><element name="events">
|
|
|
|
<zeroOrMore><element name="event">
|
|
|
|
<ref name="event-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><element name="people">
|
|
|
|
<optional><attribute name="default"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="home">
|
|
|
|
<data type="IDREF"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<zeroOrMore><element name="person">
|
|
|
|
<ref name="person-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
|
|
|
<optional><element name="families">
|
|
|
|
<zeroOrMore><element name="family">
|
|
|
|
<ref name="family-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
2011-08-30 18:04:46 +05:30
|
|
|
<optional><element name="citations">
|
|
|
|
<zeroOrMore><element name="citation">
|
|
|
|
<ref name="citation-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><element name="sources">
|
|
|
|
<zeroOrMore><element name="source">
|
|
|
|
<ref name="source-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
|
|
|
<optional><element name="places">
|
|
|
|
<zeroOrMore><element name="placeobj">
|
|
|
|
<ref name="place-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
|
|
|
<optional><element name="objects">
|
|
|
|
<zeroOrMore><element name="object">
|
|
|
|
<ref name="object-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
2005-12-24 03:02:55 +05:30
|
|
|
<optional><element name="repositories">
|
|
|
|
<zeroOrMore><element name="repository">
|
|
|
|
<ref name="repository-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
2007-02-21 08:59:52 +05:30
|
|
|
<optional><element name="notes">
|
|
|
|
<zeroOrMore><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><element name="bookmarks">
|
|
|
|
<zeroOrMore><element name="bookmark">
|
|
|
|
<ref name="bookmark-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
|
|
|
|
2007-12-10 01:36:18 +05:30
|
|
|
<optional><element name="namemaps">
|
|
|
|
<zeroOrMore><element name="map">
|
|
|
|
<ref name="map-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></start>
|
|
|
|
|
|
|
|
<define name="researcher-content">
|
|
|
|
<element name="resname"><text/></element>
|
|
|
|
<optional><element name="resaddr"><text/></element></optional>
|
2011-09-30 11:57:28 +05:30
|
|
|
<optional><element name="reslocality"><text/></element></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><element name="rescity"><text/></element></optional>
|
|
|
|
<optional><element name="resstate"><text/></element></optional>
|
|
|
|
<optional><element name="rescountry"><text/></element></optional>
|
|
|
|
<optional><element name="respostal"><text/></element></optional>
|
|
|
|
<optional><element name="resphone"><text/></element></optional>
|
|
|
|
<optional><element name="resemail"><text/></element></optional>
|
|
|
|
</define>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<define name="table-object">
|
|
|
|
<attribute name="handle"><data type="ID"/></attribute>
|
|
|
|
<attribute name="change"><text/></attribute>
|
|
|
|
</define>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<define name="primary-object">
|
2010-09-30 03:55:52 +05:30
|
|
|
<ref name="table-object"/>
|
2011-06-02 03:02:52 +05:30
|
|
|
<optional><attribute name="id"><text/></attribute></optional>
|
2005-12-24 03:02:55 +05:30
|
|
|
<optional><attribute name="priv"><choice>
|
|
|
|
<value>0</value>
|
|
|
|
<value>1</value>
|
|
|
|
</choice></attribute></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="person-content">
|
|
|
|
<ref name="primary-object"/>
|
|
|
|
<element name="gender"><choice>
|
|
|
|
<value>M</value>
|
|
|
|
<value>F</value>
|
|
|
|
<value>U</value>
|
|
|
|
</choice></element>
|
|
|
|
<zeroOrMore><element name="name">
|
|
|
|
<ref name="name-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-24 03:02:55 +05:30
|
|
|
<zeroOrMore><element name="eventref">
|
|
|
|
<ref name="eventref-content"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="lds_ord">
|
|
|
|
<ref name="lds-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="objref">
|
|
|
|
<ref name="objref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="address">
|
|
|
|
<ref name="address-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="attribute">
|
|
|
|
<ref name="attribute-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="url">
|
|
|
|
<ref name="url-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="childof">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="parentin">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</element></zeroOrMore>
|
2006-04-19 10:44:37 +05:30
|
|
|
<zeroOrMore><element name="personref">
|
2011-09-29 21:32:49 +05:30
|
|
|
<ref name="personref-content"/>
|
2006-04-19 10:44:37 +05:30
|
|
|
</element></zeroOrMore>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
2010-09-30 03:55:52 +05:30
|
|
|
<zeroOrMore><element name="tagref">
|
|
|
|
<ref name="tagref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="child-rel">
|
|
|
|
<choice>
|
|
|
|
<value>Birth</value>
|
|
|
|
<value>Adopted</value>
|
|
|
|
<value>Stepchild</value>
|
|
|
|
<value>Sponsored</value>
|
|
|
|
<value>Foster</value>
|
|
|
|
<value>None</value>
|
|
|
|
<value>Other</value>
|
|
|
|
<value>Unknown</value>
|
|
|
|
</choice>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="name-content">
|
|
|
|
<optional><attribute name="alt"><choice>
|
|
|
|
<value>0</value>
|
|
|
|
<value>1</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<optional><attribute name="type"><choice>
|
2011-08-31 00:00:12 +05:30
|
|
|
<value>Unknown</value>
|
2005-12-06 12:08:09 +05:30
|
|
|
<value>Also Known As</value>
|
|
|
|
<value>Birth Name</value>
|
|
|
|
<value>Married Name</value>
|
|
|
|
<value>Other Name</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
<optional><attribute name="sort"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="display"><text/></attribute></optional>
|
|
|
|
<optional><element name="first"><text/></element></optional>
|
2007-06-07 10:36:14 +05:30
|
|
|
<optional><element name="call"><text/></element></optional>
|
2011-08-31 00:00:12 +05:30
|
|
|
<zeroOrMore><element name="surname">
|
2010-10-02 18:22:14 +05:30
|
|
|
<ref name="surname-content"/>
|
2011-08-31 00:00:12 +05:30
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><element name="suffix"><text/></element></optional>
|
|
|
|
<optional><element name="title"><text/></element></optional>
|
2011-08-30 18:04:46 +05:30
|
|
|
<optional><element name="nick"><text/></element></optional>
|
|
|
|
<optional><element name="familynick"><text/></element></optional>
|
|
|
|
<optional><element name="group"><text/></element></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><ref name="date-content"/></optional>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
</define>
|
|
|
|
|
2010-10-02 18:22:14 +05:30
|
|
|
<define name="surname-content">
|
2011-08-31 00:00:12 +05:30
|
|
|
<text/>
|
|
|
|
<optional><attribute name="prefix"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="prim"><choice>
|
|
|
|
<value>1</value>
|
|
|
|
<value>0</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
<optional><attribute name="derivation"><choice>
|
|
|
|
<value>Unknown</value>
|
|
|
|
<value>Inherited</value>
|
|
|
|
<value>Given</value>
|
|
|
|
<value>Taken</value>
|
|
|
|
<value>Patronymic</value>
|
|
|
|
<value>Matronymic</value>
|
|
|
|
<value>Feudal</value>
|
|
|
|
<value>Pseudonym</value>
|
|
|
|
<value>Patrilineal</value>
|
|
|
|
<value>Matrilineal</value>
|
|
|
|
<value>Occupation</value>
|
|
|
|
<value>Location</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
<optional><attribute name="connector"><text/></attribute></optional>
|
2010-10-02 18:22:14 +05:30
|
|
|
</define>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<define name="address-content">
|
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
<optional><element name="street"><text/></element></optional>
|
2011-09-30 11:57:28 +05:30
|
|
|
<optional><element name="locality"><text/></element></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><element name="city"><text/></element></optional>
|
2006-10-08 00:39:05 +05:30
|
|
|
<optional><element name="county"><text/></element></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><element name="state"><text/></element></optional>
|
|
|
|
<optional><element name="country"><text/></element></optional>
|
|
|
|
<optional><element name="postal"><text/></element></optional>
|
|
|
|
<optional><element name="phone"><text/></element></optional>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
2006-10-08 00:46:10 +05:30
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="date-content">
|
|
|
|
<choice>
|
|
|
|
<element name="daterange">
|
|
|
|
<attribute name="start"><text/></attribute>
|
|
|
|
<attribute name="stop"><text/></attribute>
|
|
|
|
<optional><attribute name="quality"><choice>
|
|
|
|
<value>estimated</value>
|
|
|
|
<value>calculated</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
<optional><attribute name="cformat"><text/></attribute></optional>
|
2010-09-30 03:55:52 +05:30
|
|
|
<optional><attribute name="dualdated">
|
2009-03-01 21:09:40 +05:30
|
|
|
<choice><value>0</value><value>1</value></choice>
|
2010-09-30 03:55:52 +05:30
|
|
|
</attribute></optional>
|
|
|
|
<optional><attribute name="newyear"><text/></attribute></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element>
|
2007-07-11 10:26:11 +05:30
|
|
|
<element name="datespan">
|
|
|
|
<attribute name="start"><text/></attribute>
|
|
|
|
<attribute name="stop"><text/></attribute>
|
|
|
|
<optional><attribute name="quality"><choice>
|
|
|
|
<value>estimated</value>
|
|
|
|
<value>calculated</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
<optional><attribute name="cformat"><text/></attribute></optional>
|
2010-09-30 03:55:52 +05:30
|
|
|
<optional><attribute name="dualdated">
|
2009-03-01 21:09:40 +05:30
|
|
|
<choice><value>0</value><value>1</value></choice>
|
2010-09-30 03:55:52 +05:30
|
|
|
</attribute></optional>
|
|
|
|
<optional><attribute name="newyear"><text/></attribute></optional>
|
2007-07-11 10:26:11 +05:30
|
|
|
</element>
|
2005-12-06 12:08:09 +05:30
|
|
|
<element name="dateval">
|
|
|
|
<attribute name="val"><text/></attribute>
|
|
|
|
<optional><attribute name="cformat"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="type"><choice>
|
|
|
|
<value>before</value>
|
|
|
|
<value>after</value>
|
|
|
|
<value>about</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
<optional><attribute name="quality"><choice>
|
|
|
|
<value>estimated</value>
|
|
|
|
<value>calculated</value>
|
|
|
|
</choice></attribute></optional>
|
2010-09-30 03:55:52 +05:30
|
|
|
<optional><attribute name="dualdated">
|
2009-03-01 21:09:40 +05:30
|
|
|
<choice><value>0</value><value>1</value></choice>
|
2010-09-30 03:55:52 +05:30
|
|
|
</attribute></optional>
|
|
|
|
<optional><attribute name="newyear"><text/></attribute></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element>
|
|
|
|
<element name="datestr">
|
|
|
|
<attribute name="val"><text/></attribute>
|
|
|
|
</element>
|
|
|
|
</choice>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="family-content">
|
|
|
|
<ref name="primary-object"/>
|
2006-01-28 06:35:04 +05:30
|
|
|
<optional><element name="rel">
|
|
|
|
<attribute name="type"><text/></attribute>
|
|
|
|
</element></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><element name="father">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</element></optional>
|
|
|
|
<optional><element name="mother">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</element></optional>
|
2005-12-24 03:02:55 +05:30
|
|
|
<zeroOrMore><element name="eventref">
|
|
|
|
<ref name="eventref-content"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="lds_ord">
|
|
|
|
<ref name="lds-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="objref">
|
|
|
|
<ref name="objref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2006-04-19 10:44:37 +05:30
|
|
|
<zeroOrMore><element name="childref">
|
2005-12-06 12:08:09 +05:30
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
2006-04-19 10:44:37 +05:30
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<optional><attribute name="mrel">
|
|
|
|
<ref name="child-rel"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<optional><attribute name="frel">
|
|
|
|
<ref name="child-rel"/>
|
|
|
|
</attribute></optional>
|
2011-08-31 00:00:12 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="attribute">
|
|
|
|
<ref name="attribute-content"/>
|
|
|
|
</element></zeroOrMore>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><ref name="date-content"/></optional>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
2010-10-23 04:52:33 +05:30
|
|
|
<zeroOrMore><element name="tagref">
|
|
|
|
<ref name="tagref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
</define>
|
|
|
|
|
2005-12-24 03:02:55 +05:30
|
|
|
<define name="event-content">
|
|
|
|
<ref name="primary-object"/>
|
2006-01-28 06:35:04 +05:30
|
|
|
<element name="type"><text/></element>
|
2005-12-24 03:02:55 +05:30
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
<optional><element name="place">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</element></optional>
|
|
|
|
<optional><element name="description"><text/></element></optional>
|
2006-08-16 02:29:12 +05:30
|
|
|
<zeroOrMore><element name="attribute">
|
|
|
|
<ref name="attribute-content"/>
|
|
|
|
</element></zeroOrMore>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="objref">
|
|
|
|
<ref name="objref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="citation-content">
|
|
|
|
<ref name="primary-object"/>
|
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
<optional><element name="page"><text/></element></optional>
|
2013-10-20 22:17:38 +05:30
|
|
|
<element name="confidence"><text/></element>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
2005-12-24 03:02:55 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="objref">
|
|
|
|
<ref name="objref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="data_item">
|
|
|
|
<attribute name="key"><text/></attribute>
|
|
|
|
<attribute name="value"><text/></attribute>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element>
|
2005-12-24 03:02:55 +05:30
|
|
|
</define>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<define name="source-content">
|
|
|
|
<ref name="primary-object"/>
|
|
|
|
<optional><element name="stitle"><text/></element></optional>
|
|
|
|
<optional><element name="sauthor"><text/></element></optional>
|
|
|
|
<optional><element name="spubinfo"><text/></element></optional>
|
|
|
|
<optional><element name="sabbrev"><text/></element></optional>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
<zeroOrMore><element name="objref">
|
|
|
|
<ref name="objref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="data_item">
|
|
|
|
<attribute name="key"><text/></attribute>
|
|
|
|
<attribute name="value"><text/></attribute>
|
|
|
|
</element></zeroOrMore>
|
2005-12-24 03:02:55 +05:30
|
|
|
<zeroOrMore><element name="reporef">
|
|
|
|
<ref name="reporef-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="place-content">
|
|
|
|
<ref name="primary-object"/>
|
2006-01-28 06:35:04 +05:30
|
|
|
<optional><element name="ptitle"><text/></element></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><element name="coord">
|
2011-10-02 01:29:36 +05:30
|
|
|
<attribute name="long"><text/></attribute>
|
|
|
|
<attribute name="lat"><text/></attribute>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></optional>
|
|
|
|
<zeroOrMore><element name="location">
|
2006-10-08 00:39:05 +05:30
|
|
|
<optional><attribute name="street"><text/></attribute></optional>
|
2011-08-31 00:00:12 +05:30
|
|
|
<optional><attribute name="locality"><text/></attribute></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><attribute name="city"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="parish"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="county"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="state"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="country"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="postal"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="phone"><text/></attribute></optional>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="objref">
|
|
|
|
<ref name="objref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="url">
|
|
|
|
<ref name="url-content"/>
|
|
|
|
</element></zeroOrMore>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="object-content">
|
|
|
|
<ref name="primary-object"/>
|
2006-01-28 06:35:04 +05:30
|
|
|
<element name="file">
|
|
|
|
<attribute name="src"><text/></attribute>
|
|
|
|
<attribute name="mime"><text/></attribute>
|
|
|
|
<attribute name="description"><text/></attribute>
|
|
|
|
</element>
|
2005-12-06 12:08:09 +05:30
|
|
|
<zeroOrMore><element name="attribute">
|
|
|
|
<ref name="attribute-content"/>
|
|
|
|
</element></zeroOrMore>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><ref name="date-content"/></optional>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
2010-10-23 04:52:33 +05:30
|
|
|
<zeroOrMore><element name="tagref">
|
|
|
|
<ref name="tagref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
</define>
|
|
|
|
|
2005-12-24 03:02:55 +05:30
|
|
|
<define name="repository-content">
|
|
|
|
<ref name="primary-object"/>
|
2006-01-28 09:53:37 +05:30
|
|
|
<optional><element name="rname"><text/></element></optional>
|
2005-12-24 03:02:55 +05:30
|
|
|
<optional><element name="type"><text/></element></optional>
|
|
|
|
<zeroOrMore><element name="address">
|
|
|
|
<ref name="address-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="url">
|
|
|
|
<ref name="url-content"/>
|
|
|
|
</element></zeroOrMore>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-24 03:02:55 +05:30
|
|
|
</define>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<define name="bookmark-content">
|
2006-05-19 03:47:51 +05:30
|
|
|
<attribute name="target"><choice>
|
|
|
|
<value>person</value>
|
|
|
|
<value>family</value>
|
|
|
|
<value>event</value>
|
|
|
|
<value>source</value>
|
2012-07-22 11:06:13 +05:30
|
|
|
<value>citation</value>
|
2006-05-19 03:47:51 +05:30
|
|
|
<value>place</value>
|
|
|
|
<value>media</value>
|
|
|
|
<value>repository</value>
|
2011-08-31 00:00:12 +05:30
|
|
|
<value>note</value>
|
2006-05-19 03:47:51 +05:30
|
|
|
</choice></attribute>
|
2005-12-06 12:08:09 +05:30
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</define>
|
|
|
|
|
2007-12-10 01:36:18 +05:30
|
|
|
<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>
|
|
|
|
|
2006-07-27 23:14:02 +05:30
|
|
|
<define name="format-content">
|
|
|
|
<attribute name="number"><text/></attribute>
|
|
|
|
<attribute name="name"><text/></attribute>
|
|
|
|
<attribute name="fmt_str"><text/></attribute>
|
|
|
|
<optional><attribute name="active"><choice>
|
|
|
|
<value>0</value>
|
|
|
|
<value>1</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
</define>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<define name="note-content">
|
2007-02-21 08:59:52 +05:30
|
|
|
<ref name="primary-object"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><attribute name="format"><choice>
|
|
|
|
<value>0</value>
|
|
|
|
<value>1</value>
|
|
|
|
</choice></attribute></optional>
|
2007-02-21 08:59:52 +05:30
|
|
|
<attribute name="type"><text/></attribute>
|
2008-04-11 15:03:20 +05:30
|
|
|
<ref name="styledtext"/>
|
2010-10-23 04:52:33 +05:30
|
|
|
<zeroOrMore><element name="tagref">
|
|
|
|
<ref name="tagref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2008-04-11 15:03:20 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="styledtext">
|
|
|
|
<element name="text"><text/></element>
|
2010-09-30 03:55:52 +05:30
|
|
|
<zeroOrMore><element name="style">
|
2008-04-29 15:38:05 +05:30
|
|
|
<attribute name="name"><choice>
|
|
|
|
<value>bold</value>
|
|
|
|
<value>italic</value>
|
|
|
|
<value>underline</value>
|
|
|
|
<value>fontface</value>
|
|
|
|
<value>fontsize</value>
|
|
|
|
<value>fontcolor</value>
|
|
|
|
<value>highlight</value>
|
|
|
|
<value>superscript</value>
|
2010-11-09 21:56:25 +05:30
|
|
|
<value>link</value>
|
2008-04-29 15:38:05 +05:30
|
|
|
</choice></attribute>
|
2008-04-11 15:03:20 +05:30
|
|
|
<optional><attribute name="value"><text/></attribute></optional>
|
|
|
|
<oneOrMore><element name="range">
|
|
|
|
<attribute name="start"><data type="int"/></attribute>
|
|
|
|
<attribute name="end"><data type="int"/></attribute>
|
|
|
|
</element></oneOrMore>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
</define>
|
|
|
|
|
2011-08-30 18:04:46 +05:30
|
|
|
<define name="citationref-content">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</define>
|
2012-02-24 16:57:43 +05:30
|
|
|
|
|
|
|
<define name="personref-content">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<attribute name="rel"><text/></attribute>
|
|
|
|
<optional><zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
|
|
|
</element></zeroOrMore></optional>
|
|
|
|
<optional><zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore></optional>
|
|
|
|
</define>
|
2011-08-30 18:04:46 +05:30
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<define name="sourceref-content">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</define>
|
2011-08-30 18:04:46 +05:30
|
|
|
|
2005-12-24 03:02:55 +05:30
|
|
|
<define name="eventref-content">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<optional><attribute name="role"><text/></attribute></optional>
|
2006-08-16 02:29:12 +05:30
|
|
|
<zeroOrMore><element name="attribute">
|
|
|
|
<ref name="attribute-content"/>
|
|
|
|
</element></zeroOrMore>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-24 03:02:55 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="reporef-content">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
2007-07-18 04:40:01 +05:30
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
2005-12-24 03:02:55 +05:30
|
|
|
<optional><attribute name="callno"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="medium"><text/></attribute></optional>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="noteref-content">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
2005-12-24 03:02:55 +05:30
|
|
|
</define>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<define name="priv-content">
|
|
|
|
<choice>
|
|
|
|
<value>0</value>
|
|
|
|
<value>1</value>
|
|
|
|
</choice>
|
2005-12-24 03:02:55 +05:30
|
|
|
</define>
|
2005-12-06 12:08:09 +05:30
|
|
|
|
|
|
|
<define name="attribute-content">
|
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<attribute name="type"><text/></attribute>
|
|
|
|
<attribute name="value"><text/></attribute>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="url-content">
|
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
2005-12-24 03:02:55 +05:30
|
|
|
<optional><attribute name="type"><text/></attribute></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<attribute name="href"><text/></attribute>
|
|
|
|
<optional><attribute name="description"><text/></attribute></optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="objref-content">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
2007-12-01 10:36:07 +05:30
|
|
|
<optional><element name="region">
|
|
|
|
<ref name="region-content"/>
|
|
|
|
</element></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<zeroOrMore><element name="attribute">
|
|
|
|
<ref name="attribute-content"/>
|
|
|
|
</element></zeroOrMore>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="lds-content">
|
2007-06-07 10:36:14 +05:30
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
2005-12-06 12:08:09 +05:30
|
|
|
<attribute name="type"><text/></attribute>
|
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
<optional><element name="temple">
|
|
|
|
<attribute name="val"><text/></attribute>
|
|
|
|
</element></optional>
|
|
|
|
<optional><element name="place">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</element></optional>
|
|
|
|
<optional><element name="status">
|
|
|
|
<attribute name="val"><text/></attribute>
|
|
|
|
</element></optional>
|
|
|
|
<optional><element name="sealed_to">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</element></optional>
|
2007-02-21 08:59:52 +05:30
|
|
|
<zeroOrMore><element name="noteref">
|
|
|
|
<ref name="noteref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-12-06 12:08:09 +05:30
|
|
|
<optional><ref name="date-content"/></optional>
|
2011-08-30 18:04:46 +05:30
|
|
|
<zeroOrMore><element name="citationref">
|
|
|
|
<ref name="citationref-content"/>
|
2005-12-06 12:08:09 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
</define>
|
|
|
|
|
2007-12-01 10:36:07 +05:30
|
|
|
<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>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<define name="tagref-content">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="tag-content">
|
|
|
|
<ref name="table-object"/>
|
|
|
|
<attribute name="name"><text/></attribute>
|
|
|
|
<attribute name="color"><text/></attribute>
|
|
|
|
<attribute name="priority"><data type="integer"/></attribute>
|
|
|
|
</define>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
</grammar>
|