2005-12-06 12:08:09 +05:30
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
# Gramps - a GTK+/GNOME based genealogy program
|
|
|
|
#
|
2010-10-23 04:52:33 +05:30
|
|
|
# Copyright (C) 2001 Graham J. Williams
|
2007-02-21 08:59:52 +05:30
|
|
|
# Copyright (C) 2000-2007 Donald N. Allingham
|
2014-05-15 02:40:38 +05:30
|
|
|
# Copyright (C) 2010-2014 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
|
|
|
|
|
|
|
# $Id$
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
2015-07-06 18:36:10 +05:30
|
|
|
This is the Document Type Definition file for v1.7.1
|
2005-12-06 12:08:09 +05:30
|
|
|
of the GRAMPS XML genealogy data format.
|
|
|
|
Please use the following formal public identifier to identify it:
|
|
|
|
|
2015-07-06 18:36:10 +05:30
|
|
|
"-//GRAMPS//DTD GRAMPS XML V1.7.1//EN"
|
2005-12-06 12:08:09 +05:30
|
|
|
|
|
|
|
For example:
|
2015-07-06 18:36:10 +05:30
|
|
|
<!DOCTYPE database PUBLIC "-//GRAMPS//DTD GRAMPS XML V1.7.1//EN"
|
|
|
|
"http://gramps-project.org/xml/1.7.1/grampsxml.dtd"
|
2005-12-06 12:08:09 +05:30
|
|
|
[...]>
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
DATABASE
|
2010-09-30 03:55:52 +05:30
|
|
|
Defines an XML document which is a <database> consisting of a
|
|
|
|
|
|
|
|
header Information about the "owner" of the database
|
2010-11-10 20:47:12 +05:30
|
|
|
name-formats
|
2010-09-30 03:55:52 +05:30
|
|
|
people
|
|
|
|
families
|
2010-11-10 20:47:12 +05:30
|
|
|
events
|
2010-09-30 03:55:52 +05:30
|
|
|
places
|
2011-08-30 18:04:46 +05:30
|
|
|
citations
|
2010-11-10 20:47:12 +05:30
|
|
|
sources
|
2010-09-30 03:55:52 +05:30
|
|
|
objects
|
|
|
|
repositories
|
|
|
|
notes
|
|
|
|
tags
|
|
|
|
bookmarks
|
2010-11-10 20:47:12 +05:30
|
|
|
namemaps
|
|
|
|
tags
|
2005-12-06 12:08:09 +05:30
|
|
|
-->
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT database (header, name-formats?, tags?, events?, people?, families?,
|
2011-08-30 18:04:46 +05:30
|
|
|
citations?, sources?, places?, objects?, repositories?,
|
|
|
|
notes?, bookmarks?, namemaps?)>
|
2015-07-06 18:36:10 +05:30
|
|
|
<!ATTLIST database xmlns CDATA #FIXED "http://gramps-project.org/xml/1.7.1/">
|
2005-12-06 12:08:09 +05:30
|
|
|
|
2010-10-24 20:13:47 +05:30
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-06 12:08:09 +05:30
|
|
|
HEADER
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
A <header> consists of <created> (information about this
|
|
|
|
genealogical database) and <researcher> (information about the
|
|
|
|
person who created this genealogical database)
|
2005-12-06 12:08:09 +05:30
|
|
|
-->
|
|
|
|
|
2007-12-10 01:36:18 +05:30
|
|
|
<!ELEMENT header (created, researcher?, mediapath?)>
|
2005-12-06 12:08:09 +05:30
|
|
|
|
|
|
|
<!ELEMENT created EMPTY>
|
|
|
|
<!ATTLIST created
|
|
|
|
date CDATA #REQUIRED
|
|
|
|
version CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
2011-09-30 11:57:28 +05:30
|
|
|
<!ELEMENT researcher (resname?, resaddr?, reslocality?, rescity?, resstate?,
|
2005-12-06 12:08:09 +05:30
|
|
|
rescountry?, respostal?, resphone?, resemail?)>
|
2011-09-30 11:57:28 +05:30
|
|
|
<!ELEMENT resname (#PCDATA)>
|
|
|
|
<!ELEMENT resaddr (#PCDATA)>
|
|
|
|
<!ELEMENT reslocality (#PCDATA)>
|
|
|
|
<!ELEMENT rescity (#PCDATA)>
|
|
|
|
<!ELEMENT resstate (#PCDATA)>
|
|
|
|
<!ELEMENT rescountry (#PCDATA)>
|
|
|
|
<!ELEMENT respostal (#PCDATA)>
|
|
|
|
<!ELEMENT resphone (#PCDATA)>
|
|
|
|
<!ELEMENT resemail (#PCDATA)>
|
2005-12-06 12:08:09 +05:30
|
|
|
|
2007-12-10 01:36:18 +05:30
|
|
|
<!ELEMENT mediapath (#PCDATA)>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-06 12:08:09 +05:30
|
|
|
PEOPLE
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT people (person)*>
|
|
|
|
<!ATTLIST people
|
|
|
|
default CDATA #IMPLIED
|
|
|
|
home IDREF #IMPLIED
|
|
|
|
>
|
|
|
|
|
2010-10-02 18:22:14 +05:30
|
|
|
<!ELEMENT person (gender, name*, eventref*, lds_ord*,
|
2007-02-21 08:59:52 +05:30
|
|
|
objref*, address*, attribute*, url*, childof*,
|
2011-08-30 18:04:46 +05:30
|
|
|
parentin*, personref*, noteref*, citationref*, tagref*)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST person
|
2011-06-02 03:02:52 +05:30
|
|
|
id CDATA #IMPLIED
|
2005-12-06 12:08:09 +05:30
|
|
|
handle ID #REQUIRED
|
2005-12-24 03:02:55 +05:30
|
|
|
priv (0|1) #IMPLIED
|
2006-01-28 06:13:27 +05:30
|
|
|
change CDATA #REQUIRED
|
2005-12-06 12:08:09 +05:30
|
|
|
>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
GENDER has values of M, F, or U.
|
|
|
|
-->
|
|
|
|
<!ELEMENT gender (#PCDATA)>
|
|
|
|
|
2011-08-31 00:00:12 +05:30
|
|
|
<!ELEMENT name (first?, call?, surname*, suffix?, title?, nick?, familynick?, group?,
|
|
|
|
(daterange|datespan|dateval|datestr)?, noteref*, citationref*)>
|
2015-07-05 14:42:04 +05:30
|
|
|
<!-- (Unknown|Also Know As|Birth Name|Married Name|Other Name) -->
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST name
|
|
|
|
alt (0|1) #IMPLIED
|
|
|
|
type CDATA #IMPLIED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
sort CDATA #IMPLIED
|
|
|
|
display CDATA #IMPLIED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT first (#PCDATA)>
|
2007-06-07 10:36:14 +05:30
|
|
|
<!ELEMENT call (#PCDATA)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ELEMENT suffix (#PCDATA)>
|
|
|
|
<!ELEMENT title (#PCDATA)>
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT nick (#PCDATA)>
|
2010-10-02 18:22:14 +05:30
|
|
|
<!ELEMENT familynick (#PCDATA)>
|
|
|
|
<!ELEMENT group (#PCDATA)>
|
|
|
|
<!ELEMENT surname (#PCDATA)>
|
2015-07-05 14:42:04 +05:30
|
|
|
<!-- (Unknown|Inherited|Given|Taken|Patronymic|Matronymic|Feudal|
|
|
|
|
Pseudonym|Patrilineal|Matrilineal|Occupation|Location) -->
|
2010-10-02 18:22:14 +05:30
|
|
|
<!ATTLIST surname
|
|
|
|
prefix CDATA #IMPLIED
|
2011-04-13 23:02:28 +05:30
|
|
|
prim (1|0) #IMPLIED
|
2010-10-02 18:22:14 +05:30
|
|
|
derivation CDATA #IMPLIED
|
|
|
|
connector CDATA #IMPLIED
|
|
|
|
>
|
2005-12-06 12:08:09 +05:30
|
|
|
|
|
|
|
<!ELEMENT childof EMPTY>
|
2006-04-19 10:44:37 +05:30
|
|
|
<!ATTLIST childof hlink IDREF #REQUIRED
|
2005-12-06 12:08:09 +05:30
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT parentin EMPTY>
|
|
|
|
<!ATTLIST parentin hlink IDREF #REQUIRED>
|
|
|
|
|
2011-08-30 18:04:46 +05:30
|
|
|
<!ELEMENT personref (citationref*, noteref*)>
|
2006-04-19 10:44:37 +05:30
|
|
|
<!ATTLIST personref
|
2010-09-30 03:55:52 +05:30
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
rel CDATA #REQUIRED
|
2006-04-19 10:44:37 +05:30
|
|
|
>
|
|
|
|
|
2011-09-30 11:57:28 +05:30
|
|
|
<!ELEMENT address ((daterange|datespan|dateval|datestr)?, street?,
|
2011-11-06 00:37:58 +05:30
|
|
|
locality?, city?, county?, state?, country?, postal?,
|
|
|
|
phone?, noteref*,citationref*)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST address priv (0|1) #IMPLIED>
|
|
|
|
|
2011-09-30 11:57:28 +05:30
|
|
|
<!ELEMENT street (#PCDATA)>
|
2011-08-31 00:00:12 +05:30
|
|
|
<!ELEMENT locality (#PCDATA)>
|
2011-09-30 11:57:28 +05:30
|
|
|
<!ELEMENT city (#PCDATA)>
|
|
|
|
<!ELEMENT county (#PCDATA)>
|
|
|
|
<!ELEMENT state (#PCDATA)>
|
|
|
|
<!ELEMENT country (#PCDATA)>
|
|
|
|
<!ELEMENT postal (#PCDATA)>
|
|
|
|
<!ELEMENT phone (#PCDATA)>
|
2005-12-06 12:08:09 +05:30
|
|
|
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-06 12:08:09 +05:30
|
|
|
FAMILY
|
2010-09-30 03:55:52 +05:30
|
|
|
An element to record information about a family.
|
2005-12-06 12:08:09 +05:30
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT families (family)*>
|
|
|
|
|
2010-10-23 04:52:33 +05:30
|
|
|
<!ELEMENT family (rel?, father?, mother?, eventref*, lds_ord*, objref*,
|
2011-08-30 18:04:46 +05:30
|
|
|
childref*, attribute*, noteref*, citationref*, tagref*)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST family
|
2011-06-02 03:02:52 +05:30
|
|
|
id CDATA #IMPLIED
|
2006-01-28 06:13:27 +05:30
|
|
|
handle ID #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
change CDATA #REQUIRED
|
2005-12-06 12:08:09 +05:30
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT father EMPTY>
|
|
|
|
<!ATTLIST father hlink IDREF #REQUIRED>
|
|
|
|
|
|
|
|
<!ELEMENT mother EMPTY>
|
|
|
|
<!ATTLIST mother hlink IDREF #REQUIRED>
|
|
|
|
|
2015-07-05 14:42:04 +05:30
|
|
|
<!-- (None|Birth|Adopted|Stepchild|Sponsored|Foster|Other|Unknown) -->
|
2011-08-30 18:04:46 +05:30
|
|
|
<!ELEMENT childref (citationref*,noteref*)>
|
2006-04-19 10:44:37 +05:30
|
|
|
<!ATTLIST childref
|
2010-09-30 03:55:52 +05:30
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
2015-07-05 14:42:04 +05:30
|
|
|
mrel CDATA #IMPLIED
|
|
|
|
frel CDATA #IMPLIED
|
2006-04-19 10:44:37 +05:30
|
|
|
>
|
2005-12-06 12:08:09 +05:30
|
|
|
|
2006-01-28 06:13:27 +05:30
|
|
|
<!ELEMENT type (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT rel EMPTY>
|
|
|
|
<!ATTLIST rel type CDATA #REQUIRED>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-24 03:02:55 +05:30
|
|
|
EVENT
|
|
|
|
-->
|
2006-01-28 06:13:27 +05:30
|
|
|
<!ELEMENT events (event)*>
|
2005-12-24 03:02:55 +05:30
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT event (type?, (daterange|datespan|dateval|datestr)?, place?, cause?,
|
2013-01-22 21:42:15 +05:30
|
|
|
description?, attribute*, noteref*, citationref*, objref*,
|
|
|
|
tagref*)>
|
2005-12-24 03:02:55 +05:30
|
|
|
<!ATTLIST event
|
2011-06-02 03:02:52 +05:30
|
|
|
id CDATA #IMPLIED
|
2006-01-28 06:13:27 +05:30
|
|
|
handle ID #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
change CDATA #REQUIRED
|
2005-12-24 03:02:55 +05:30
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-06 12:08:09 +05:30
|
|
|
SOURCES
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT sources (source)*>
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT source (stitle?, sauthor?, spubinfo?, sabbrev?,
|
2013-05-27 00:58:57 +05:30
|
|
|
noteref*, objref*, srcattribute*, reporef*, tagref*)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST source
|
2011-06-02 03:02:52 +05:30
|
|
|
id CDATA #IMPLIED
|
2006-01-28 06:13:27 +05:30
|
|
|
handle ID #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
change CDATA #REQUIRED
|
2005-12-06 12:08:09 +05:30
|
|
|
>
|
|
|
|
<!ELEMENT stitle (#PCDATA)>
|
|
|
|
<!ELEMENT sauthor (#PCDATA)>
|
|
|
|
<!ELEMENT spubinfo (#PCDATA)>
|
|
|
|
<!ELEMENT sabbrev (#PCDATA)>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-06 12:08:09 +05:30
|
|
|
PLACES
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT places (placeobj)*>
|
|
|
|
|
2015-07-05 14:39:19 +05:30
|
|
|
<!ELEMENT placeobj (ptitle?, pname+, code?, coord?, placeref*, location*,
|
2014-05-15 02:40:38 +05:30
|
|
|
objref*, url*, noteref*, citationref*, tagref*)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST placeobj
|
2011-06-02 03:02:52 +05:30
|
|
|
id CDATA #IMPLIED
|
2006-01-28 06:13:27 +05:30
|
|
|
handle ID #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
change CDATA #REQUIRED
|
2014-05-15 02:40:38 +05:30
|
|
|
type CDATA #REQUIRED
|
2005-12-06 12:08:09 +05:30
|
|
|
>
|
|
|
|
|
2015-07-05 14:39:19 +05:30
|
|
|
<!ELEMENT pname (daterange|datespan|dateval|datestr)?>
|
2015-06-27 18:23:29 +05:30
|
|
|
|
2015-07-05 14:39:19 +05:30
|
|
|
<!ATTLIST pname
|
2015-06-27 18:23:29 +05:30
|
|
|
lang CDATA #IMPLIED
|
|
|
|
value CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT ptitle (#PCDATA)>
|
2014-05-15 02:40:38 +05:30
|
|
|
<!ELEMENT code (#PCDATA)>
|
2006-01-28 06:13:27 +05:30
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ELEMENT coord EMPTY>
|
|
|
|
<!ATTLIST coord
|
|
|
|
long CDATA #REQUIRED
|
|
|
|
lat CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT location EMPTY>
|
|
|
|
<!ATTLIST location
|
2011-09-30 11:57:28 +05:30
|
|
|
street CDATA #IMPLIED
|
|
|
|
locality CDATA #IMPLIED
|
|
|
|
city CDATA #IMPLIED
|
|
|
|
parish CDATA #IMPLIED
|
|
|
|
county CDATA #IMPLIED
|
|
|
|
state CDATA #IMPLIED
|
|
|
|
country CDATA #IMPLIED
|
|
|
|
postal CDATA #IMPLIED
|
|
|
|
phone CDATA #IMPLIED
|
2005-12-06 12:08:09 +05:30
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-06 12:08:09 +05:30
|
|
|
OBJECTS
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT objects (object)*>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT object (file, attribute*, noteref*,
|
2011-08-30 18:04:46 +05:30
|
|
|
(daterange|datespan|dateval|datestr)?, citationref*, tagref*)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST object
|
2011-06-02 03:02:52 +05:30
|
|
|
id CDATA #IMPLIED
|
2006-01-28 06:13:27 +05:30
|
|
|
handle ID #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
change CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT file EMPTY>
|
|
|
|
<!ATTLIST file
|
2005-12-06 12:08:09 +05:30
|
|
|
src CDATA #REQUIRED
|
|
|
|
mime CDATA #REQUIRED
|
2013-08-16 03:49:18 +05:30
|
|
|
checksum CDATA #IMPLIED
|
2005-12-06 12:08:09 +05:30
|
|
|
description CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-24 03:02:55 +05:30
|
|
|
REPOSITORIES
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT repositories (repository)*>
|
|
|
|
|
2013-01-22 21:42:15 +05:30
|
|
|
<!ELEMENT repository (rname, type, address*, url*, noteref*, tagref*)>
|
2005-12-24 03:02:55 +05:30
|
|
|
<!ATTLIST repository
|
2011-06-02 03:02:52 +05:30
|
|
|
id CDATA #IMPLIED
|
2006-01-28 06:13:27 +05:30
|
|
|
handle ID #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
change CDATA #REQUIRED
|
2005-12-24 03:02:55 +05:30
|
|
|
>
|
|
|
|
|
2006-01-28 06:13:27 +05:30
|
|
|
<!ELEMENT rname (#PCDATA)>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2007-02-21 08:59:52 +05:30
|
|
|
NOTES
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT notes (note)*>
|
|
|
|
|
2010-10-23 04:52:33 +05:30
|
|
|
<!ELEMENT note (text, style*, tagref*)>
|
2007-02-21 08:59:52 +05:30
|
|
|
<!ATTLIST note
|
2011-06-02 03:02:52 +05:30
|
|
|
id CDATA #IMPLIED
|
2007-02-21 08:59:52 +05:30
|
|
|
handle ID #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
2010-09-30 03:55:52 +05:30
|
|
|
change CDATA #REQUIRED
|
|
|
|
format (0|1) #IMPLIED
|
|
|
|
type CDATA #REQUIRED
|
2007-02-21 08:59:52 +05:30
|
|
|
>
|
|
|
|
|
2008-04-11 15:03:20 +05:30
|
|
|
<!ELEMENT text (#PCDATA)>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT style (range+)>
|
|
|
|
<!ATTLIST style
|
|
|
|
name (bold|italic|underline|fontface|fontsize|
|
2010-11-04 14:21:48 +05:30
|
|
|
fontcolor|highlight|superscript|link) #REQUIRED
|
2010-09-30 03:55:52 +05:30
|
|
|
value CDATA #IMPLIED
|
2008-04-11 15:03:20 +05:30
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT range EMPTY>
|
|
|
|
<!ATTLIST range
|
2010-09-30 03:55:52 +05:30
|
|
|
start CDATA #REQUIRED
|
|
|
|
end CDATA #REQUIRED
|
2008-04-11 15:03:20 +05:30
|
|
|
>
|
2005-12-06 12:08:09 +05:30
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
|
|
|
TAGS
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT tags (tag)*>
|
|
|
|
|
|
|
|
<!ELEMENT tag EMPTY>
|
|
|
|
<!ATTLIST tag
|
|
|
|
handle ID #REQUIRED
|
|
|
|
name CDATA #REQUIRED
|
|
|
|
color CDATA #REQUIRED
|
|
|
|
priority CDATA #REQUIRED
|
|
|
|
change CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
2011-08-30 18:04:46 +05:30
|
|
|
<!-- ************************************************************
|
|
|
|
CITATIONS
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT citations (citation)*>
|
|
|
|
|
2013-10-26 21:34:19 +05:30
|
|
|
<!ELEMENT citation ((daterange|datespan|dateval|datestr)?, page?, confidence,
|
2013-05-27 00:58:57 +05:30
|
|
|
noteref*, objref*, srcattribute*, sourceref, tagref*)>
|
2011-08-30 18:04:46 +05:30
|
|
|
<!ATTLIST citation
|
|
|
|
id CDATA #IMPLIED
|
|
|
|
handle ID #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
change CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-06 12:08:09 +05:30
|
|
|
BOOKMARKS
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT bookmarks (bookmark)*>
|
|
|
|
<!ELEMENT bookmark EMPTY>
|
2006-05-19 03:47:51 +05:30
|
|
|
<!ATTLIST bookmark
|
2012-07-22 11:06:13 +05:30
|
|
|
target (person|family|event|source|citation|place|media|repository|
|
2011-08-31 00:00:12 +05:30
|
|
|
note) #REQUIRED
|
2006-05-19 03:47:51 +05:30
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
>
|
2005-12-06 12:08:09 +05:30
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2007-12-10 01:39:27 +05:30
|
|
|
NAME MAPS
|
|
|
|
-->
|
2007-12-10 01:36:18 +05:30
|
|
|
<!ELEMENT namemaps (map)*>
|
|
|
|
<!ELEMENT map EMPTY>
|
|
|
|
<!ATTLIST map
|
2008-04-01 11:17:27 +05:30
|
|
|
type CDATA #REQUIRED
|
2007-12-10 01:36:18 +05:30
|
|
|
key CDATA #REQUIRED
|
|
|
|
value CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2006-07-27 23:14:02 +05:30
|
|
|
NAME FORMATS
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT name-formats (format)*>
|
|
|
|
<!ELEMENT format EMPTY>
|
|
|
|
<!ATTLIST format
|
|
|
|
number CDATA #REQUIRED
|
|
|
|
name CDATA #REQUIRED
|
|
|
|
fmt_str CDATA #REQUIRED
|
|
|
|
active (0|1) #IMPLIED
|
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-06 12:08:09 +05:30
|
|
|
SHARED ELEMENTS
|
|
|
|
-->
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT daterange EMPTY>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST daterange
|
2009-02-02 03:55:45 +05:30
|
|
|
start CDATA #REQUIRED
|
|
|
|
stop CDATA #REQUIRED
|
|
|
|
quality (estimated|calculated) #IMPLIED
|
|
|
|
cformat CDATA #IMPLIED
|
|
|
|
dualdated (0|1) #IMPLIED
|
|
|
|
newyear CDATA #IMPLIED
|
2005-12-06 12:08:09 +05:30
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT datespan EMPTY>
|
2007-07-11 10:26:11 +05:30
|
|
|
<!ATTLIST datespan
|
2010-09-30 03:55:52 +05:30
|
|
|
start CDATA #REQUIRED
|
|
|
|
stop CDATA #REQUIRED
|
|
|
|
quality (estimated|calculated) #IMPLIED
|
|
|
|
cformat CDATA #IMPLIED
|
2009-02-02 03:55:45 +05:30
|
|
|
dualdated (0|1) #IMPLIED
|
|
|
|
newyear CDATA #IMPLIED
|
2007-07-11 10:26:11 +05:30
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT dateval EMPTY>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST dateval
|
2009-02-02 03:55:45 +05:30
|
|
|
val CDATA #REQUIRED
|
|
|
|
type (before|after|about) #IMPLIED
|
|
|
|
quality (estimated|calculated) #IMPLIED
|
|
|
|
cformat CDATA #IMPLIED
|
|
|
|
dualdated (0|1) #IMPLIED
|
|
|
|
newyear CDATA #IMPLIED
|
2005-12-06 12:08:09 +05:30
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT datestr EMPTY>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST datestr val CDATA #REQUIRED>
|
|
|
|
|
2011-08-30 18:04:46 +05:30
|
|
|
<!ELEMENT citationref EMPTY>
|
|
|
|
<!ATTLIST citationref
|
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT sourceref EMPTY>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST sourceref
|
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT eventref (attribute*, noteref*)>
|
2005-12-24 03:02:55 +05:30
|
|
|
<!ATTLIST eventref
|
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
role CDATA #IMPLIED
|
|
|
|
>
|
|
|
|
|
2007-02-21 08:59:52 +05:30
|
|
|
<!ELEMENT reporef (noteref*)>
|
2005-12-24 03:02:55 +05:30
|
|
|
<!ATTLIST reporef
|
|
|
|
hlink IDREF #REQUIRED
|
2007-07-18 04:40:01 +05:30
|
|
|
priv (0|1) #IMPLIED
|
2005-12-24 03:02:55 +05:30
|
|
|
callno CDATA #IMPLIED
|
|
|
|
medium CDATA #IMPLIED
|
|
|
|
>
|
|
|
|
|
2007-02-21 08:59:52 +05:30
|
|
|
<!ELEMENT noteref EMPTY>
|
|
|
|
<!ATTLIST noteref
|
|
|
|
hlink IDREF #REQUIRED
|
2005-12-24 03:02:55 +05:30
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT tagref EMPTY>
|
|
|
|
<!ATTLIST tagref
|
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
>
|
|
|
|
|
2011-08-30 18:04:46 +05:30
|
|
|
<!ELEMENT page (#PCDATA)>
|
|
|
|
<!ELEMENT confidence (#PCDATA)>
|
2005-12-06 12:08:09 +05:30
|
|
|
|
2011-08-30 18:04:46 +05:30
|
|
|
<!ELEMENT attribute (citationref*, noteref*)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST attribute
|
2010-09-30 03:55:52 +05:30
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
type CDATA #REQUIRED
|
|
|
|
value CDATA #REQUIRED
|
2005-12-06 12:08:09 +05:30
|
|
|
>
|
|
|
|
|
2013-05-27 00:58:57 +05:30
|
|
|
<!ELEMENT srcattribute EMPTY>
|
|
|
|
<!ATTLIST srcattribute
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
type CDATA #REQUIRED
|
|
|
|
value CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ELEMENT place EMPTY>
|
|
|
|
<!ATTLIST place hlink IDREF #REQUIRED>
|
|
|
|
|
|
|
|
<!ELEMENT cause (#PCDATA)>
|
|
|
|
<!ELEMENT description (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT url EMPTY>
|
|
|
|
<!ATTLIST url
|
2010-09-30 03:55:52 +05:30
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
type CDATA #IMPLIED
|
|
|
|
href CDATA #REQUIRED
|
2005-12-06 12:08:09 +05:30
|
|
|
description CDATA #IMPLIED
|
|
|
|
>
|
|
|
|
|
2011-08-30 18:04:46 +05:30
|
|
|
<!ELEMENT objref (region?, attribute*, citationref*, noteref*)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST objref
|
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
>
|
|
|
|
|
2014-05-15 02:40:38 +05:30
|
|
|
<!ELEMENT placeref ((daterange|datespan|dateval|datestr)?)>
|
|
|
|
<!ATTLIST placeref
|
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
>
|
|
|
|
|
2007-12-01 10:36:07 +05:30
|
|
|
<!ELEMENT region EMPTY>
|
|
|
|
<!ATTLIST region
|
|
|
|
corner1_x CDATA #REQUIRED
|
|
|
|
corner1_y CDATA #REQUIRED
|
|
|
|
corner2_x CDATA #REQUIRED
|
|
|
|
corner2_y CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ELEMENT data_item EMPTY>
|
|
|
|
<!ATTLIST data_item
|
|
|
|
key CDATA #REQUIRED
|
|
|
|
value CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT lds_ord ((daterange|datespan|dateval|datestr)?, temple?, place?,
|
2011-08-30 18:04:46 +05:30
|
|
|
status?, sealed_to?, noteref*, citationref*)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST lds_ord
|
2010-09-30 03:55:52 +05:30
|
|
|
priv (0|1) #IMPLIED
|
2005-12-06 12:08:09 +05:30
|
|
|
type CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT temple EMPTY>
|
|
|
|
<!ATTLIST temple
|
|
|
|
val CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT status EMPTY>
|
|
|
|
<!ATTLIST status
|
|
|
|
val CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
<!ELEMENT sealed_to EMPTY>
|
|
|
|
<!ATTLIST sealed_to
|
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
>
|