| 1 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 2 |
xmlns="http://purl.org/dc/elements/1.1/" |
| 3 |
targetNamespace="http://purl.org/dc/elements/1.1/" |
| 4 |
elementFormDefault="qualified" |
| 5 |
attributeFormDefault="unqualified"> |
| 6 |
|
| 7 |
<xs:annotation> |
| 8 |
<xs:documentation xml:lang="en"> |
| 9 |
Simple DC XML Schema, 2002-10-09 |
| 10 |
by Pete Johnston ([email protected]), |
| 11 |
Carl Lagoze ([email protected]), Andy Powell ([email protected]), |
| 12 |
Herbert Van de Sompel ([email protected]). |
| 13 |
This schema defines terms for Simple Dublin Core, i.e. the 15 |
| 14 |
elements from the http://purl.org/dc/elements/1.1/ namespace, with |
| 15 |
no use of encoding schemes or element refinements. |
| 16 |
Default content type for all elements is xs:string with xml:lang |
| 17 |
attribute available. |
| 18 |
|
| 19 |
Supersedes version of 2002-03-12. |
| 20 |
Amended to remove namespace declaration for http://www.w3.org/XML/1998/namespace namespace, |
| 21 |
and to reference lang attribute via built-in xml: namespace prefix. |
| 22 |
xs:appinfo also removed. |
| 23 |
</xs:documentation> |
| 24 |
</xs:annotation> |
| 25 |
|
| 26 |
<xs:import namespace="http://www.w3.org/XML/1998/namespace" |
| 27 |
schemaLocation="./xml.xsd"/> |
| 28 |
|
| 29 |
<xs:element name="title" type="elementType"/> |
| 30 |
<xs:element name="creator" type="elementType"/> |
| 31 |
<xs:element name="subject" type="elementType"/> |
| 32 |
<xs:element name="description" type="elementType"/> |
| 33 |
<xs:element name="publisher" type="elementType"/> |
| 34 |
<xs:element name="contributor" type="elementType"/> |
| 35 |
<xs:element name="date" type="elementType"/> |
| 36 |
<xs:element name="type" type="elementType"/> |
| 37 |
<xs:element name="format" type="elementType"/> |
| 38 |
<xs:element name="identifier" type="elementType"/> |
| 39 |
<xs:element name="source" type="elementType"/> |
| 40 |
<xs:element name="language" type="elementType"/> |
| 41 |
<xs:element name="relation" type="elementType"/> |
| 42 |
<xs:element name="coverage" type="elementType"/> |
| 43 |
<xs:element name="rights" type="elementType"/> |
| 44 |
|
| 45 |
<xs:group name="elementsGroup"> |
| 46 |
<xs:sequence> |
| 47 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 48 |
<xs:element ref="title"/> |
| 49 |
<xs:element ref="creator"/> |
| 50 |
<xs:element ref="subject"/> |
| 51 |
<xs:element ref="description"/> |
| 52 |
<xs:element ref="publisher"/> |
| 53 |
<xs:element ref="contributor"/> |
| 54 |
<xs:element ref="date"/> |
| 55 |
<xs:element ref="type"/> |
| 56 |
<xs:element ref="format"/> |
| 57 |
<xs:element ref="identifier"/> |
| 58 |
<xs:element ref="source"/> |
| 59 |
<xs:element ref="language"/> |
| 60 |
<xs:element ref="relation"/> |
| 61 |
<xs:element ref="coverage"/> |
| 62 |
<xs:element ref="rights"/> |
| 63 |
</xs:choice> |
| 64 |
</xs:sequence> |
| 65 |
</xs:group> |
| 66 |
|
| 67 |
<xs:complexType name="elementType"> |
| 68 |
<xs:simpleContent> |
| 69 |
<xs:extension base="xs:string"> |
| 70 |
<xs:attribute ref="xml:lang" use="optional"/> |
| 71 |
</xs:extension> |
| 72 |
</xs:simpleContent> |
| 73 |
</xs:complexType> |
| 74 |
|
| 75 |
</xs:schema> |
| 76 |
|
| 77 |
|