2005-12-06 12:08:09 +05:30
|
|
|
<!--
|
|
|
|
# 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
|
2010-10-23 04:52:33 +05:30
|
|
|
# Copyright (C) 2010 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
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
2010-09-30 03:55:52 +05:30
|
|
|
This is the Document Type Definition file for v1.4.0
|
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:
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
"-//GRAMPS//DTD GRAMPS XML V1.4.0//EN"
|
2005-12-06 12:08:09 +05:30
|
|
|
|
|
|
|
For example:
|
2010-09-30 03:55:52 +05:30
|
|
|
<!DOCTYPE database PUBLIC "-//GRAMPS//DTD GRAMPS XML V1.4.0//EN"
|
|
|
|
"http://gramps-project.org/xml/1.4.0/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
|
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
|
|
|
-->
|
|
|
|
|
2011-09-30 11:57:28 +05:30
|
|
|
<!ELEMENT database (header, name-formats?, tags?, events?, people?,
|
|
|
|
families?, sources?, places?, objects?,
|
|
|
|
repositories?, notes?, bookmarks?, namemaps?)>
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ATTLIST database xmlns CDATA #FIXED "http://gramps-project.org/xml/1.4.0/">
|
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*,
|
2010-09-30 03:55:52 +05:30
|
|
|
parentin*, personref*, noteref*, sourceref*, 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-08 03:25:09 +05:30
|
|
|
<!ELEMENT name (first?, call?, surname*, suffix?, title?, nick?, familynick?, group?,
|
2010-09-30 03:55:52 +05:30
|
|
|
(daterange|datespan|dateval|datestr)?, noteref*, sourceref*)>
|
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)>
|
|
|
|
<!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>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT personref (sourceref*, 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?,
|
|
|
|
locality?, city?, county?, state?, country?, postal?,
|
|
|
|
phone?, noteref*, sourceref*)>
|
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-08 03:25:09 +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*,
|
|
|
|
childref*, attribute*, noteref*, sourceref*, 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>
|
|
|
|
|
2007-02-21 08:59:52 +05:30
|
|
|
<!ELEMENT childref (sourceref*,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
|
|
|
|
mrel (None|Birth|Adopted|Stepchild|Sponsored|Foster|Other|Unknown) #IMPLIED
|
|
|
|
frel (None|Birth|Adopted|Stepchild|Sponsored|Foster|Other|Unknown) #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?,
|
|
|
|
description?, attribute*, noteref*, sourceref*, objref*)>
|
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?,
|
|
|
|
noteref*, objref*, data_item*, reporef*)>
|
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)*>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT placeobj (ptitle?, coord?, location*, objref*, url*, noteref*,
|
|
|
|
sourceref*)>
|
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
|
2005-12-06 12:08:09 +05:30
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT ptitle (#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*,
|
2010-10-23 04:52:33 +05:30
|
|
|
(daterange|datespan|dateval|datestr)?, sourceref*, 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
|
|
|
|
description CDATA #REQUIRED
|
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!-- ************************************************************
|
2005-12-24 03:02:55 +05:30
|
|
|
REPOSITORIES
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ELEMENT repositories (repository)*>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT repository (rname, type, address*, url*, noteref*)>
|
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
|
|
|
|
>
|
|
|
|
|
|
|
|
<!-- ************************************************************
|
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
|
2011-08-12 01:41:03 +05:30
|
|
|
target (person|family|event|source|place|media|repository|
|
|
|
|
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>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT sourceref (spage? ,noteref*, (daterange|datespan|dateval|datestr)?)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST sourceref
|
|
|
|
hlink IDREF #REQUIRED
|
2007-06-07 10:36:14 +05:30
|
|
|
priv (0|1) #IMPLIED
|
2005-12-06 12:08:09 +05:30
|
|
|
conf CDATA #IMPLIED
|
|
|
|
>
|
|
|
|
|
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
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT spage (#PCDATA)>
|
2005-12-06 12:08:09 +05:30
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT attribute (sourceref*, 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
|
|
|
>
|
|
|
|
|
|
|
|
<!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
|
|
|
|
>
|
|
|
|
|
2010-09-30 03:55:52 +05:30
|
|
|
<!ELEMENT objref (region?, attribute*, sourceref*, noteref*)>
|
2005-12-06 12:08:09 +05:30
|
|
|
<!ATTLIST objref
|
|
|
|
hlink IDREF #REQUIRED
|
|
|
|
priv (0|1) #IMPLIED
|
|
|
|
>
|
|
|
|
|
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?,
|
|
|
|
status?, sealed_to?, noteref*, sourceref*)>
|
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
|
|
|
|
>
|