Использование расширяемого языка разметки xml для обеспечения обмена данными о таксономии животных между группами исследователей


DTD


<!--
Taxon Type Definition for the Open eBook document version 1.0.0

Version: 1.0.1
Revision: Nov 18 2003

Usage:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE taxon PUBLIC "-//taxon//DTD taxon 1.0//EN" "http://ensen.sitc.ru/dtds/taxon-1.0/taxon10.dtd">
<taxon>
...
</taxon>

Terms and conditions of use are available from the web site at
http://ensen.sitc.ru/dtds/

-->

<!--================ Entities ================-->

<!ENTITY % id "CDATA"> <!-- [0-9A-z_]+ for identifier -->
<!ENTITY % length "CDATA"> <!-- [0-9]+ for absolute or [0-9]+"%" for percentage length -->
<!ENTITY % vdata "CDATA"> <!-- attribute value possibly containing variable references -->
<!ENTITY % HREF "%vdata;"> <!-- URI, URL or URN designating a hypertext node. May contain variable references -->
<!ENTITY % number "NMTOKEN"> <!-- a number, with format [0-9]+ -->
<!ENTITY % coreattrs "id ID #IMPLIED 
class CDATA #IMPLIED">

<!ENTITY % sysname "(kingdom| subkingdom| phylum| division| subdivision| superclass| class| phylum| subphylum| infraclass| superorder| order| suborder| superfamily| family| subfamily| infrafamily| tribe| subtribe| genus| subgenus| section| species| taxon| outgroup)">
<!ENTITY % regiontype "(ocean| sea| basin)">

<!ENTITY % InternationalAttributes
"xml:lang %id; #IMPLIED"
>

<!ENTITY % DCAttributes
"id %id; #IMPLIED
%InternationalAttributes;
xmlns:dc %HREF; #FIXED 'http://purl.org/dc/elements/1.0/'"
>

<!--================ Taxon ================-->

<!ELEMENT taxon (comment*, ssScript*, sys+, title*, description*, synonyms?, authors?, distributions?, publications?, date?, plants?, symbiosises?, collections?, x-metadata?)>
<!ATTLIST taxon
id %id; #IMPLIED
%InternationalAttributes;
href %HREF; #IMPLIED
unique-identifier %id; #IMPLIED
xmlns %HREF; #FIXED 'http://ensen.sitc.ru/namespaces/taxon/1.0/'
>

<!ELEMENT ssScript EMPTY>
<!ATTLIST ssScript
value CDATA #IMPLIED
>

<!ELEMENT sys (comment*, ssScript*, text)>
<!ATTLIST sys
%InternationalAttributes;
href %HREF; #IMPLIED
name CDATA #IMPLIED
rank %number; #IMPLIED
>

<!ELEMENT text EMPTY>
<!ATTLIST text
value CDATA #REQUIRED
>

<!ELEMENT title (comment*, ssScript*, text)>
<!ATTLIST title
%InternationalAttributes;
option CDATA #IMPLIED
>

<!ELEMENT description (comment*, ssScript*, text?)>
<!ATTLIST description
%InternationalAttributes;
>

<!ELEMENT synonyms (comment*, ssScript*, name+)>

<!ELEMENT name (comment*, ssScript*, text)>
<!ATTLIST name
%InternationalAttributes;
option CDATA #IMPLIED
>

<!ELEMENT authors (comment*, ssScript*, person+)>

<!ELEMENT person (comment*, ssScript*, name+, description*, degree*, position*, institute*, department*, phone*, mail*, email*, birthday?, dyingday?, x-metadata?)>
<!ATTLIST person
href %HREF; #IMPLIED
date %vdata; #IMPLIED
rel %vdata; #IMPLIED
>

<!ELEMENT degree (comment*, ssScript*, text)>

<!ELEMENT position (comment*, ssScript*, text)>
<!ATTLIST position
%InternationalAttributes;
>

<!ELEMENT institute (comment*, ssScript*, text)>
<!ATTLIST institute
%InternationalAttributes;
>

<!ELEMENT department (comment*, ssScript*, text)>
<!ATTLIST department
%InternationalAttributes;
>

<!ELEMENT phone (comment*, ssScript*, text)>

<!ELEMENT mail (comment*, ssScript*, text)>
<!ATTLIST mail
%InternationalAttributes;
>

<!ELEMENT email (comment*, ssScript*, text)>

<!ELEMENT birthday (comment*, ssScript*, text)>

<!ELEMENT dyingday (comment*, ssScript*, text)>

<!ELEMENT x-metadata (comment*, ssScript*, meta+)>
<!ATTLIST x-metadata
id %id; #IMPLIED
%InternationalAttributes;
>

<!ELEMENT meta (comment*, ssScript*)>
<!ATTLIST meta
%InternationalAttributes;
name NMTOKEN #REQUIRED
content CDATA #REQUIRED
scheme CDATA #IMPLIED
>

<!ELEMENT distributions (comment*, ssScript*, distribution+)>

<!ELEMENT distribution (comment*, ssScript*, description*, area?, stay?, label?, authors?, publications?, x-metadata?)>
<!ATTLIST distribution
unique-identifier %id; #IMPLIED
href %HREF; #IMPLIED
>

<!ELEMENT area (comment*, ssScript*, description*, region?, territory?, location?, authors?, publications?, x-metadata?)>
<!ATTLIST area
unique-identifier %id; #IMPLIED
name %vdata; #IMPLIED
href %HREF; #IMPLIED
>

<!ELEMENT region (comment*, ssScript*, text?, description*, authors?, publications?, x-metadata?)>
<!ATTLIST region
%InternationalAttributes;
href %HREF; #IMPLIED
type %regiontype; #IMPLIED
>

<!ELEMENT publications (comment*, ssScript*, publication+)>

<!ELEMENT publication (comment*, ssScript*, opf?, record?, description*, dc-metadata?, x-metadata?, authors*)>
<!ATTLIST publication
href %HREF; #IMPLIED
unique-identifier %id; #IMPLIED
>

<!ELEMENT opf (comment*, ssScript*)>
<!ATTLIST opf
href %HREF; #IMPLIED
>

<!ELEMENT record (comment*, ssScript*, text)>
<!ATTLIST record
%InternationalAttributes;
href %HREF; #IMPLIED
>

<!ELEMENT dc-metadata (comment*, ssScript*, text*, dc:Title, dc:Identifier, dc:Contributor?, dc:Creator?, dc:Subject?, dc:Description?, dc:Publisher?, dc:Date?, dc:Type?, dc:Format?, dc:Source?, dc:Language?, dc:Relation?, dc:Coverage?, dc:Rights?)>
<!ATTLIST dc-metadata
id %id; #IMPLIED
%InternationalAttributes;
xmlns:dc %HREF; #FIXED 'http://purl.org/dc/elements/1.0/'
xmlns:oebpackage %HREF; #FIXED 'http://openebook.org/namespaces/oeb-package/1.0/'
>

<!ELEMENT dc:Title (comment*, ssScript*, text*)>
<!ATTLIST dc:Title
%DCAttributes;
>

<!ELEMENT dc:Identifier (comment*, ssScript*, text*)>
<!ATTLIST dc:Identifier
%DCAttributes;
scheme (ISBN| DOI) #IMPLIED
>

<!ELEMENT dc:Contributor (comment*, ssScript*, text*)>
<!ATTLIST dc:Contributor
%DCAttributes;
role (adp| ann| arr| art| asn| aut| aqt| aft| aui| ant| bkp| clb| cmm| com| dsr| edt| ill| lyr| mdc| mus| nrt| oth| pht| prt| red| rev| spn| ths| trc| trl) #IMPLIED
file-as CDATA #IMPLIED
>

<!ELEMENT dc:Creator (comment*, ssScript*, text*)>
<!ATTLIST dc:Creator
%DCAttributes;
role (adp| ann| arr| art| asn| aut| aqt| aft| aui| ant| bkp| clb| cmm| com| dsr| edt| ill| lyr| mdc| mus| nrt| oth| pht| prt| red| rev| spn| ths| trc| trl) #IMPLIED
file-as CDATA #IMPLIED
>

<!ELEMENT dc:Subject (comment*, ssScript*, text*)>
<!ATTLIST dc:Subject
%DCAttributes;
>

<!ELEMENT dc:Description (comment*, ssScript*, text*)>
<!ATTLIST dc:Description
%DCAttributes;
>

<!ELEMENT dc:Publisher (comment*, ssScript*, text*)>
<!ATTLIST dc:Publisher
%DCAttributes;
>

<!ELEMENT dc:Date (comment*, ssScript*, text*)>
<!ATTLIST dc:Date
%DCAttributes;
event (creation| publication| modification) #IMPLIED
>

<!ELEMENT dc:Type (comment*, ssScript*, text*)>
<!ATTLIST dc:Type
%DCAttributes;
>

<!ELEMENT dc:Format (comment*, ssScript*, text*)>
<!ATTLIST dc:Format
%DCAttributes;
>

<!ELEMENT dc:Source (comment*, ssScript*, text*)>
<!ATTLIST dc:Source
%DCAttributes;
>

<!ELEMENT dc:Language (comment*, ssScript*, text*)>
<!ATTLIST dc:Language
%DCAttributes;
>

<!ELEMENT dc:Relation (comment*, ssScript*, text*)>
<!ATTLIST dc:Relation
%DCAttributes;
>

<!ELEMENT dc:Coverage (comment*, ssScript*, text*)>
<!ATTLIST dc:Coverage
%DCAttributes;
>

<!ELEMENT dc:Rights (comment*, ssScript*, text*)>
<!ATTLIST dc:Rights
%DCAttributes;
>

<!ELEMENT territory (comment*, ssScript*, text?, description*, authors?, publications?, x-metadata?)>
<!ATTLIST territory
%InternationalAttributes;
href %HREF; #IMPLIED
type %regiontype; #IMPLIED
>

<!ELEMENT location (comment*, ssScript*, text?, description*, authors?, publications?, x-metadata?)>
<!ATTLIST location
%InternationalAttributes;
href %HREF; #IMPLIED
name %vdata; #IMPLIED
>

<!ELEMENT stay (comment*, ssScript*, description*, source?, location?, horisont?, section?, square?, depth?, date?, gear?, sample?, authors?, publications?, x-metadata?)>
<!ATTLIST stay
unique-identifier %id; #IMPLIED
href %HREF; #IMPLIED
type (station| vessel) #IMPLIED
>

<!ELEMENT source (comment*, ssScript*, text?, description*, x-metadata?)>
<!ATTLIST source
%InternationalAttributes;
href %HREF; #IMPLIED
type (log) #IMPLIED
>

<!ELEMENT horisont (comment*, ssScript*, text?, description*, x-metadata?)>
<!ATTLIST horisont
%InternationalAttributes;
href %HREF; #IMPLIED
type (hydro| pelagy) #IMPLIED
>

<!ELEMENT section (comment*, ssScript*, text?, description*, x-metadata?)>
<!ATTLIST section
%InternationalAttributes;
href %HREF; #IMPLIED
type (hydro| pelagy) #IMPLIED
>

<!ELEMENT square (comment*, ssScript*, text?, description*, x-metadata?)>
<!ATTLIST square
%InternationalAttributes;
href %HREF; #IMPLIED
type (hydro| pelagy) #IMPLIED
>

<!ELEMENT depth (comment*, ssScript*)>
<!ATTLIST depth
%InternationalAttributes;
value %length; #IMPLIED
ratio %length; #IMPLIED
>

<!ELEMENT date (comment*, ssScript*)>
<!ATTLIST date
value CDATA #IMPLIED
ratio %length; #IMPLIED
>

<!ELEMENT gear (comment*, ssScript*)>
<!ATTLIST gear
%InternationalAttributes;
value CDATA #IMPLIED
alt CDATA #IMPLIED
>

<!ELEMENT sample (comment*, ssScript*)>
<!ATTLIST sample
%InternationalAttributes;
value CDATA #IMPLIED
alt CDATA #IMPLIED
>

<!ELEMENT label (comment*, ssScript*, description*, latitude?, longitude?, base?, point?, x-metadata?)>

<!ELEMENT latitude (comment*, ssScript*)>
<!ATTLIST latitude
value CDATA #IMPLIED
alt CDATA #IMPLIED
>

<!ELEMENT longitude (comment*, ssScript*)>
<!ATTLIST longitude
value CDATA #IMPLIED
alt CDATA #IMPLIED
>

<!ELEMENT base (comment*, ssScript*)>
<!ATTLIST base
value CDATA #IMPLIED
alt CDATA #IMPLIED
distance %length; #IMPLIED
direction (N| E| S| W) #IMPLIED
>

<!ELEMENT point (comment*, ssScript*)>
<!ATTLIST point
%InternationalAttributes;
value CDATA #IMPLIED
alt CDATA #IMPLIED
>

<!ELEMENT plants (comment*, ssScript*, symbiosis*)>

<!ELEMENT symbiosis (comment*, ssScript*, description*, taxon*, person*, publications*, region*, x-metadata?)>
<!ATTLIST symbiosis
href %HREF; #IMPLIED
>

<!ELEMENT symbiosises (comment*, ssScript*, hosts?, parasites?, plants?)>

<!ELEMENT hosts (comment*, ssScript*, symbiosis*)>

<!ELEMENT parasites (comment*, ssScript*, symbiosis*)>

<!ELEMENT collections (comment*, ssScript*, collection+)>

<!ELEMENT collection (comment*, ssScript*, item*, x-metadata?)>
<!ATTLIST collection
name CDATA #IMPLIED
>

<!ELEMENT item (comment*, ssScript*, sex?, age?, count?, date?, authors?, type?, distribution?, x-metadata?)>
<!ATTLIST item
unique-identifier %id; #IMPLIED
>

<!ELEMENT sex (comment*, ssScript*)>
<!ATTLIST sex
value (m| f) #IMPLIED
ratio %length; #IMPLIED
>

<!ELEMENT age (comment*, ssScript*)>
<!ATTLIST age
value %length; #IMPLIED
ratio %length; #IMPLIED
>

<!ELEMENT count (comment*, ssScript*)>
<!ATTLIST count
value %length; #IMPLIED
ratio %length; #IMPLIED
>

<!ELEMENT type (comment*, ssScript*)>
<!ATTLIST type
value %length; #IMPLIED
>

[ Назад ]