[MIMAS logo] MIMAS Metadatabase: XML Document Type Definition


Below is the XML Document Type Definition (DTD) used for the metadata in the MIMAS Metadatabase. A text version of the DTD is also available.

The MIMAS Metadata DTD is a DTD for general qualified Dublin Core, with a few MIMAS-specific additions and some text formatting elements. Although this DTD allows all Dublin Core elements to be optional and repeatable, the actual metadata in the MIMAS Metadatabase follows a more restrictive template.

Note: the encoding for Dublin Core element refinements follows that which was current when the DTD was first developed, and so does not follow current guidelines for encoding Dublin Core in XML. For example, according to this DTD a 'created' date would be encoded as:


<dc:date>
    <dct:created scheme="W3CDTF">2002-07-29</dct:created>
<dc:date>

whereas according to the current Guidelines for implementing Dublin Core in XML this would be encoded as:

<dcterms:created scheme="W3CDTF">2002-07-29</dcterms:created>

<!--<!DOCTYPE mimasrec [ -->

<!-- SYSTEM "mimasrec.dtd"                                           -->

<!--<Title>MIMAS Metadata Record XML DTD                                -->
<!--<Creator>Ann Apps                                                   -->
<!--<Affiliation>MIMAS, Manchester Computing, University of Manchester  -->
<!--<Description>XML Dublin Core DTD for MIMAS metadata records         -->
<!--<Date>2003-08-04                                                    -->
<!--<Type>XML DTD                                                       -->
<!--<Format>text/xml                                                    -->
<!--<Identifier>mimasrec.dtd                                            -->
<!--<Language>en                                                        -->
<!--<Rights>University of Manchester 2003                               -->
<!--<Version>2.4                                                        -->

<!-- DTD Change History                                                 -->
<!-- Version 2.4 (04/08/2003)                                           -->
<!--    Added text elements ul and a                                    -->
<!-- Version 2.3 (17/07/2002)                                           -->
<!--    Added text elements em and strong                               -->
<!-- Version 2.2 (17/04/2002)                                           -->
<!--    Added LCSH, UNESCO, DDC schemes to dc:type                      -->
<!-- Version 2.1 (04/02/2002)                                           -->
<!--    Added UNESCO schemes to dc:subject and dct:spatial              -->
<!-- Version 2.0 (31/07/2001)                                           -->
<!--    Updated to follow guidelines for 'Dublin Core in XML':          -->
<!--        Changed element refinements from attributes to sub-elements -->
<!-- Version 1.0 (23/05/2001)                                           -->

<!ENTITY % ISOlat1 SYSTEM "/home/zzmetadm/XML/ENTS/xmlents/iso-lat1.ent">
%ISOlat1;
<!ENTITY % ISOnum SYSTEM "/home/zzmetadm/XML/ENTS/xmlents/iso-num.ent">
%ISOnum;

<!-- Namespaces for DC, XHTML (text) and MIMAS application profile -->
<!ENTITY dcns 'http://purl.org/dc/elements/1.1'>
<!ENTITY dctns 'http://purl.org/dc/terms/'>
<!ENTITY xhtmlns 'http://www.w3.org/1999/xhtml'>
<!ENTITY mimasns 'http://irwell.mimas.ac.uk/~zzmetadm/mimasappln/'>
<!ENTITY xsins 'http://www.w3.org/2001/XMLSchema-instance'>
<!ENTITY mimasxsi '&mimasns;mimasschema.xsd'>
<!ENTITY % dcnsdecln 'xmlns:dc CDATA #FIXED "&dcns;"'>
<!ENTITY % dctnsdecln 'xmlns:dct CDATA #FIXED "&dctns;"'>
<!ENTITY % xhtmlnsdecln 'xmlns:xhtml CDATA #FIXED "&xhtmlns;"'>
<!ENTITY % mimasnsdecln 'xmlns:mimas CDATA #FIXED "&mimasns;"'>
<!ENTITY % xsinsdecln 'xmlns:xsi CDATA #FIXED "&xsins;"'>
<!ENTITY % mimasxsidecln 'xsi:schemaLocation CDATA #FIXED "&mimasxsi;"'>

<!-- Allowed text elements -->
<!ENTITY  % text        "#PCDATA | a | i | b | em | strong | sup | sub | br">

<!-- MIMAS Record -->
<!ELEMENT mimasrec		(dc:title | dc:creator | dc:subject 
					| dc:description | dc:publisher 
					| dc:contributor | dc:date | dc:type
					| dc:format | dc:identifier | dc:source
					| dc:language | dc:relation
					| dc:coverage | dc:rights)*
>
<!ATTLIST mimasrec		%dcnsdecln;
				%dctnsdecln;
				%xhtmlnsdecln;
				%mimasnsdecln;
				%xsinsdecln;
				%mimasxsidecln;
>		

<!-- Resource Title -->
<!ELEMENT dc:title		(%text; | dct:alternative)*
>
<!ATTLIST dc:title		xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:alternative	(%text;)*
>
<!ATTLIST dct:alternative	xml:lang CDATA #IMPLIED
>

<!-- Authors -->
<!ELEMENT dc:creator		(#PCDATA)
>

<!-- Subject / Keywords -->
<!ELEMENT dc:subject		(#PCDATA)
>
<!ATTLIST dc:subject		scheme (LCSH | MESH | DDC | LCC | UDC 
					| UNESCO | none) "none"
				xml:lang CDATA #IMPLIED
>

<!-- Description of Resource -->
<!ELEMENT dc:description	(#PCDATA | p | ul | dct:tableOfContents
					| dct:abstract)*
>
<!ATTLIST dc:description	xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:tableOfContents	(#PCDATA)
>
<!ATTLIST dct:tableOfContents	xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:abstract		(p | ul)*
>
<!ATTLIST dct:abstract		xml:lang CDATA #IMPLIED
>

<!-- Publisher -->
<!ELEMENT dc:publisher		(#PCDATA | mimas:agent | mimas:admin)*
>

<!ELEMENT mimas:agent		(#PCDATA)
>
<!ATTLIST mimas:agent		mimasrole CDATA #IMPLIED
>

<!ELEMENT mimas:admin		(#PCDATA)
>
<!ATTLIST mimas:admin		mimasrole CDATA #IMPLIED
>

<!-- Other contributor -->
<!ELEMENT dc:contributor	(#PCDATA | mimas:agent)*
>

<!-- Created: Date this record added to MIMAS metadata db -->
<!-- Modified: Date this record modified in MIMAS metadata db -->
<!ELEMENT dc:date		(#PCDATA | dct:created | dct:valid 
					| dct:available | dct:issued 
					| dct:modified)*
>
<!ATTLIST dc:date		scheme (Period | W3CDTF | none) "none"
>
<!ELEMENT dct:created		(#PCDATA)
>
<!ATTLIST dct:created		scheme (Period | W3CDTF) "W3CDTF"
>
<!ELEMENT dct:valid		(#PCDATA)
>
<!ATTLIST dct:valid		scheme (Period | W3CDTF) "W3CDTF"
>
<!ELEMENT dct:available		(#PCDATA)
>
<!ATTLIST dct:available		scheme (Period | W3CDTF) "W3CDTF"
>
<!ELEMENT dct:issued		(#PCDATA)
>
<!ATTLIST dct:issued		scheme (Period | W3CDTF) "W3CDTF"
>
<!ELEMENT dct:modified		(#PCDATA)
>
<!ATTLIST dct:modified		scheme (Period | W3CDTF) "W3CDTF"
>

<!-- Type of resource -->
<!ELEMENT dc:type		(#PCDATA)
>
<!ATTLIST dc:type		scheme (DCMIType | mimastype  | LCSH | UNESCO 
					| DDC | none) "none"
>

<!-- Format of resource -->
<!ELEMENT dc:format		(#PCDATA | dct:extent | dct:medium)*
>
<!ELEMENT dct:extent		(#PCDATA)
>
<!ELEMENT dct:medium		(#PCDATA)
>
<!ATTLIST dct:medium		scheme (IMT | none) "none"
>

<!-- Identifier of Resource -->
<!ELEMENT dc:identifier		(#PCDATA)
>
<!-- scheme=mimas:id : metadata record id -->
<!-- scheme=ISSN : ISSN of a journal -->
<!-- scheme=URI (or no scheme) : URL of resource -->
<!-- This list may need extending -->
<!ATTLIST dc:identifier		scheme (mimasid | ISSN | URI | none) "none"
>

<!-- Source -->
<!ELEMENT dc:source		(#PCDATA)
>
<!ATTLIST dc:source		scheme (URI | none) "none"
				xml:lang CDATA #IMPLIED
>

<!-- Language -->
<!ELEMENT dc:language		(#PCDATA)
>
<!ATTLIST dc:language		scheme (ISO639-2 | RFC1766 | none) "none"
>

<!-- Relation -->
<!ELEMENT dc:relation		(#PCDATA | dct:isVersionOf | dct:hasVersion 
					| dct:isReplacedBy | dct:replaces 
					| dct:isRequiredBy | dct:requires 
					| dct:isPartOf | dct:hasPart 
					| dct:isReferencedBy | dct:references 
					| dct:isFormatOf | dct:hasFormat)*
>
<!ELEMENT dct:isVersionOf	(#PCDATA)
>
<!ATTLIST dct:isVersionOf	scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:hasVersion	(#PCDATA)
> 
<!ATTLIST dct:hasVersion	scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:isReplacedBy	(#PCDATA)
>
<!ATTLIST dct:isReplacedBy	scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:replaces		(#PCDATA)
> 
<!ATTLIST dct:replaces		scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:isRequiredBy	(#PCDATA)
>
<!ATTLIST dct:isRequiredBy	scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:requires		(#PCDATA)
> 
<!ATTLIST dct:requires		scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:isPartOf		(#PCDATA)
>
<!ATTLIST dct:isPartOf		scheme (URI | ISSN | MIMAS | none) "none"
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:hasPart		(#PCDATA)
> 
<!ATTLIST dct:hasPart		scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:isReferencedBy	(#PCDATA)
>
<!ATTLIST dct:isReferencedBy	scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:references	(#PCDATA)
> 
<!ATTLIST dct:references	scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:isFormatOf	(#PCDATA)
>
<!ATTLIST dct:isFormatOf	scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:hasFormat		(#PCDATA)
>
<!ATTLIST dct:hasFormat		scheme (URI | none) "none" 
				xml:lang CDATA #IMPLIED
>

<!-- Coverage -->
<!ELEMENT dc:coverage		(#PCDATA | dct:spatial | dct:temporal)*
>
<!ATTLIST dc:coverage		xml:lang CDATA #IMPLIED
>
<!ELEMENT dct:spatial		(#PCDATA)
>
<!ATTLIST dct:spatial		scheme (Point | ISO3166 | Box | TGN | UNESCO | none) 
				"none"
>
<!ELEMENT dct:temporal		(#PCDATA)
>
<!ATTLIST dct:temporal		scheme (Period | W3CDTF | none) "none"
>

<!-- Copyrightinformation -->
<!ELEMENT dc:rights		(#PCDATA)
>
<!ATTLIST dc:rights		xml:lang CDATA #IMPLIED
>

<!-- Text/typesetting elements taken from XHTML namespace -->
<!-- 'xhtml:' prefix omitted for usability -->

<!-- Paragraph in text of description -->
<!ELEMENT p			(%text;)*>

<!-- Typesetting elements -->

<!-- List -->
<!ELEMENT ul			(li*)
>
<!ELEMENT li			(%text;)*
>
<!-- Hypertext Link -->
<!ELEMENT a			(%text;)*
>
<!ATTLIST a			href CDATA #IMPLIED
				name CDATA #IMPLIED
>
<!-- Italic -->
<!ELEMENT i			(%text;)*>
<!-- Bold -->
<!ELEMENT b			(%text;)*>
<!-- Italic -->
<!ELEMENT em			(%text;)*>
<!-- Bold -->
<!ELEMENT strong		(%text;)*>
<!-- Subscript -->
<!ELEMENT sub			(%text;)*>
<!-- Superscript -->
<!ELEMENT sup			(%text;)*>
<!-- Line Break -->
<!ELEMENT br			EMPTY>

<!--]>-->



The MIMAS Metadatabase project was funded by the Joint Information Systems Committee (JISC) for the UK Higher and Further Education Councils as part of the JISC Services DNER: Z39.50/Authentication Programme.

22 December 2003, epub@manchester.ac.uk          [Go to MIMAS home page]          [Valid XHTML 1.0!]