2005-10-13 06:01:49 +05:30
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
# Gramps - a GTK+/GNOME based genealogy program
|
|
|
|
#
|
|
|
|
# Copyright (C) 2005 Donald N. Allingham
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# Written by Alex Roitman
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
2005-10-13 06:12:39 +05:30
|
|
|
This is the RELAX NG schema for the GRAMPS XML genealogy data format.
|
2005-10-13 06:01:49 +05:30
|
|
|
-->
|
|
|
|
|
|
|
|
|
2005-10-13 12:31:49 +05:30
|
|
|
<grammar
|
|
|
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
|
2005-10-14 09:51:08 +05:30
|
|
|
ns="http://gramps-project.org/xml/1.0.0/"
|
2005-10-13 12:31:49 +05:30
|
|
|
xmlns="http://relaxng.org/ns/structure/1.0">
|
2005-10-13 06:01:49 +05:30
|
|
|
|
2005-10-13 12:31:49 +05:30
|
|
|
<start><element name="database">
|
2005-10-13 06:01:49 +05:30
|
|
|
|
2005-10-13 06:12:39 +05:30
|
|
|
<element name="header">
|
|
|
|
<element name="created">
|
2005-10-14 05:55:22 +05:30
|
|
|
<attribute name="date"><data type="date"/></attribute>
|
2005-10-13 12:31:49 +05:30
|
|
|
<attribute name="version"><text/></attribute>
|
2005-10-13 06:12:39 +05:30
|
|
|
</element>
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><element name="researcher">
|
2005-10-13 06:12:39 +05:30
|
|
|
<ref name="researcher-content"/>
|
2005-10-13 12:31:49 +05:30
|
|
|
</element></optional>
|
2005-10-13 06:12:39 +05:30
|
|
|
</element>
|
|
|
|
|
2005-10-13 12:31:49 +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">
|
2005-10-13 06:12:39 +05:30
|
|
|
<ref name="person-content"/>
|
2005-10-13 12:31:49 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
2005-10-13 06:12:39 +05:30
|
|
|
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><element name="families">
|
|
|
|
<zeroOrMore><element name="family">
|
2005-10-13 06:12:39 +05:30
|
|
|
<ref name="family-content"/>
|
2005-10-13 12:31:49 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
2005-10-13 06:12:39 +05:30
|
|
|
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><element name="sources">
|
|
|
|
<zeroOrMore><element name="source">
|
2005-10-13 06:12:39 +05:30
|
|
|
<ref name="source-content"/>
|
2005-10-13 12:31:49 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
2005-10-13 06:01:49 +05:30
|
|
|
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><element name="places">
|
2005-10-14 01:32:48 +05:30
|
|
|
<zeroOrMore><element name="placeobj">
|
2005-10-13 06:12:39 +05:30
|
|
|
<ref name="place-content"/>
|
2005-10-13 12:31:49 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
2005-10-13 06:01:49 +05:30
|
|
|
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><element name="objects">
|
|
|
|
<zeroOrMore><element name="object">
|
2005-10-13 06:12:39 +05:30
|
|
|
<ref name="object-content"/>
|
2005-10-13 12:31:49 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
2005-10-13 06:12:39 +05:30
|
|
|
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><element name="bookmarks">
|
|
|
|
<zeroOrMore><element name="bookmark">
|
2005-10-13 06:12:39 +05:30
|
|
|
<ref name="bookmark-content"/>
|
2005-10-13 12:31:49 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
</element></optional>
|
2005-10-13 06:12:39 +05:30
|
|
|
|
2005-10-13 12:31:49 +05:30
|
|
|
</element></start>
|
2005-10-13 06:12:39 +05:30
|
|
|
|
|
|
|
<define name="researcher-content">
|
2005-10-13 12:31:49 +05:30
|
|
|
<element name="resname"><text/></element>
|
|
|
|
<optional><element name="resaddr"><text/></element></optional>
|
|
|
|
<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>
|
2005-10-13 06:12:39 +05:30
|
|
|
</define>
|
|
|
|
|
2005-10-14 01:32:48 +05:30
|
|
|
<define name="primary-object">
|
2005-10-13 12:31:49 +05:30
|
|
|
<attribute name="id"><text/></attribute>
|
|
|
|
<attribute name="handle"><data type="ID"/></attribute>
|
|
|
|
<attribute name="change"><text/></attribute>
|
2005-10-14 01:32:48 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="person-content">
|
|
|
|
<ref name="primary-object"/>
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><attribute name="complete"><choice>
|
|
|
|
<value>0</value>
|
|
|
|
<value>1</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
<element name="gender"><choice>
|
|
|
|
<value>M</value>
|
|
|
|
<value>F</value>
|
|
|
|
<value>U</value>
|
|
|
|
</choice></element>
|
|
|
|
<zeroOrMore><element name="name">
|
2005-10-14 01:32:48 +05:30
|
|
|
<ref name="name-content"/>
|
2005-10-13 12:31:49 +05:30
|
|
|
</element></zeroOrMore>
|
|
|
|
<optional><element name="nick"><text/></element></optional>
|
|
|
|
<zeroOrMore><element name="event">
|
|
|
|
<ref name="event-content"/>
|
|
|
|
</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>
|
|
|
|
<optional><attribute name="mrel">
|
|
|
|
<ref name="child-rel"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<optional><attribute name="frel">
|
|
|
|
<ref name="child-rel"/>
|
|
|
|
</attribute></optional>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="parentin">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
|
|
|
<zeroOrMore><element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="child-rel">
|
|
|
|
<choice>
|
|
|
|
<value>Birth</value>
|
|
|
|
<value>Adopted</value>
|
2005-10-14 03:06:18 +05:30
|
|
|
<value>Stepchild</value>
|
2005-10-13 12:31:49 +05:30
|
|
|
<value>Sponsored</value>
|
|
|
|
<value>Foster</value>
|
2005-10-14 03:06:18 +05:30
|
|
|
<value>None</value>
|
2005-10-13 12:31:49 +05:30
|
|
|
<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>
|
2005-10-14 01:32:48 +05:30
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<optional><attribute name="type"><choice>
|
|
|
|
<value>Also Known As</value>
|
|
|
|
<value>Birth Name</value>
|
|
|
|
<value>Married Name</value>
|
|
|
|
<value>Other Name</value>
|
2005-10-13 12:31:49 +05:30
|
|
|
</choice></attribute></optional>
|
|
|
|
<optional><attribute name="sort"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="display"><text/></attribute></optional>
|
|
|
|
<optional><element name="first"><text/></element></optional>
|
|
|
|
<optional><element name="last">
|
2005-10-14 01:32:48 +05:30
|
|
|
<text/>
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><attribute name="prefix"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="group"><text/></attribute></optional>
|
|
|
|
</element></optional>
|
|
|
|
<optional><element name="suffix"><text/></element></optional>
|
|
|
|
<optional><element name="patronymic"><text/></element></optional>
|
|
|
|
<optional><element name="title"><text/></element></optional>
|
2005-10-14 01:32:48 +05:30
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
|
|
|
<zeroOrMore><element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-10-13 12:31:49 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="address-content">
|
2005-10-14 01:32:48 +05:30
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<optional><ref name="date-content"/></optional>
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><element name="street"><text/></element></optional>
|
|
|
|
<optional><element name="city"><text/></element></optional>
|
|
|
|
<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>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
|
|
|
<optional><element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element></optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="date-content">
|
|
|
|
<choice>
|
|
|
|
<element name="daterange">
|
2005-10-14 01:32:48 +05:30
|
|
|
<attribute name="start"><text/></attribute>
|
|
|
|
<attribute name="stop"><text/></attribute>
|
2005-10-14 05:55:22 +05:30
|
|
|
<optional><attribute name="quality"><choice>
|
|
|
|
<value>estimated</value>
|
|
|
|
<value>calculated</value>
|
|
|
|
</choice></attribute></optional>
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><attribute name="cformat"><text/></attribute></optional>
|
|
|
|
</element>
|
|
|
|
<element name="dateval">
|
2005-10-14 01:32:48 +05:30
|
|
|
<attribute name="val"><text/></attribute>
|
2005-10-13 12:31:49 +05:30
|
|
|
<optional><attribute name="cformat"><text/></attribute></optional>
|
|
|
|
<optional><attribute name="type"><choice>
|
|
|
|
<value>before</value>
|
|
|
|
<value>after</value>
|
|
|
|
<value>about</value>
|
|
|
|
</choice></attribute></optional>
|
2005-10-14 05:55:22 +05:30
|
|
|
<optional><attribute name="quality"><choice>
|
|
|
|
<value>estimated</value>
|
|
|
|
<value>calculated</value>
|
|
|
|
</choice></attribute></optional>
|
2005-10-13 12:31:49 +05:30
|
|
|
</element>
|
|
|
|
<element name="datestr">
|
|
|
|
<attribute name="val"><text/></attribute>
|
|
|
|
</element>
|
|
|
|
</choice>
|
2005-10-13 06:12:39 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="family-content">
|
2005-10-14 01:32:48 +05:30
|
|
|
<ref name="primary-object"/>
|
2005-10-14 03:06:18 +05:30
|
|
|
<optional><attribute name="complete"><choice>
|
2005-10-14 01:32:48 +05:30
|
|
|
<value>0</value>
|
|
|
|
<value>1</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
<optional><attribute name="type"><choice>
|
|
|
|
<value>Married</value>
|
|
|
|
<value>Unmarried</value>
|
|
|
|
<value>Civil Union</value>
|
|
|
|
<value>Unknown</value>
|
|
|
|
<value>Other</value>
|
|
|
|
</choice></attribute></optional>
|
|
|
|
<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>
|
|
|
|
<zeroOrMore><element name="event">
|
|
|
|
<ref name="event-content"/>
|
|
|
|
</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="child">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</element></zeroOrMore>
|
2005-10-14 03:06:18 +05:30
|
|
|
<zeroOrMore><element name="attribute">
|
|
|
|
<ref name="attribute-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
<zeroOrMore><element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-10-13 06:12:39 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="source-content">
|
2005-10-14 01:32:48 +05:30
|
|
|
<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>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
|
|
|
<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-10-13 06:12:39 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="place-content">
|
2005-10-14 01:32:48 +05:30
|
|
|
<ref name="primary-object"/>
|
|
|
|
<attribute name="title"><text/></attribute>
|
|
|
|
<optional><element name="coord">
|
|
|
|
<attribute name="long"><data type="float"/></attribute>
|
|
|
|
<attribute name="lat"><data type="float"/></attribute>
|
|
|
|
</element></optional>
|
|
|
|
<zeroOrMore><element name="location">
|
|
|
|
<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>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
|
|
|
<zeroOrMore><element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
|
2005-10-13 06:12:39 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="object-content">
|
2005-10-14 01:32:48 +05:30
|
|
|
<ref name="primary-object"/>
|
|
|
|
<attribute name="src"><text/></attribute>
|
|
|
|
<attribute name="mime"><text/></attribute>
|
|
|
|
<attribute name="description"><text/></attribute>
|
|
|
|
<zeroOrMore><element name="attribute">
|
|
|
|
<ref name="attribute-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
<zeroOrMore><element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element></zeroOrMore>
|
2005-10-13 06:12:39 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="bookmark-content">
|
2005-10-14 01:32:48 +05:30
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="note-content">
|
|
|
|
<optional><attribute name="format"><choice>
|
|
|
|
<value>0</value>
|
|
|
|
<value>1</value>
|
|
|
|
</choice></attribute></optional>
|
2005-10-13 06:12:39 +05:30
|
|
|
<text/>
|
|
|
|
</define>
|
2005-10-13 06:01:49 +05:30
|
|
|
|
2005-10-14 01:32:48 +05:30
|
|
|
<define name="sourceref-content">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
<optional><attribute name="conf"><text/></attribute></optional>
|
|
|
|
<optional><element name="spage"><text/></element></optional>
|
|
|
|
<optional><element name="scomments"><text/></element></optional>
|
|
|
|
<optional><element name="stext"><text/></element></optional>
|
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="priv-content">
|
|
|
|
<choice>
|
|
|
|
<value>0</value>
|
|
|
|
<value>1</value>
|
|
|
|
</choice>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="attribute-content">
|
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<attribute name="type"><text/></attribute>
|
|
|
|
<attribute name="value"><text/></attribute>
|
2005-10-14 03:06:18 +05:30
|
|
|
<zeroOrMore><element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
2005-10-14 01:32:48 +05:30
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="event-content">
|
|
|
|
<attribute name="type"><text/></attribute>
|
2005-10-14 03:06:18 +05:30
|
|
|
<optional><attribute name="priv">
|
2005-10-14 01:32:48 +05:30
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
<zeroOrMore><element name="witness">
|
2005-10-14 03:06:18 +05:30
|
|
|
<optional><attribute name="hlink">
|
|
|
|
<data type="IDREF"/>
|
|
|
|
</attribute></optional>
|
2005-10-14 01:32:48 +05:30
|
|
|
<optional><attribute name="name"><text/></attribute></optional>
|
|
|
|
<optional><element name="comment"><text/></element></optional>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<optional><element name="place">
|
|
|
|
<attribute name="hlink"><data type="IDREF"/></attribute>
|
|
|
|
</element></optional>
|
|
|
|
<optional><element name="cause"><text/></element></optional>
|
|
|
|
<optional><element name="description"><text/></element></optional>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
<zeroOrMore><element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="objref">
|
|
|
|
<ref name="objref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="url-content">
|
|
|
|
<optional><attribute name="priv">
|
|
|
|
<ref name="priv-content"/>
|
|
|
|
</attribute></optional>
|
|
|
|
<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>
|
|
|
|
<zeroOrMore><element name="attribute">
|
|
|
|
<ref name="attribute-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<zeroOrMore><element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name="lds-content">
|
|
|
|
<attribute name="type"><text/></attribute>
|
2005-10-14 03:06:18 +05:30
|
|
|
<optional><ref name="date-content"/></optional>
|
2005-10-14 01:32:48 +05:30
|
|
|
<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>
|
|
|
|
<optional><element name="note">
|
|
|
|
<ref name="note-content"/>
|
|
|
|
</element></optional>
|
|
|
|
<optional><ref name="date-content"/></optional>
|
|
|
|
<zeroOrMore><element name="sourceref">
|
|
|
|
<ref name="sourceref-content"/>
|
|
|
|
</element></zeroOrMore>
|
|
|
|
</define>
|
|
|
|
|
2005-10-13 06:01:49 +05:30
|
|
|
</grammar>
|