source: documented-examples/trunk/authen-e/metadata/ex.mds@ 21829

Last change on this file since 21829 was 18601, checked in by kjdon, 15 years ago

Authentication demo

File size: 3.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE MetadataSet [
3
4 <!-- The outer tag of any metadata set. Contains some number of elements. -->
5 <!-- @param contact A contact address for the creator. -->
6 <!-- @param creator The name of the entity resposibly for this set. -->
7 <!-- @param family The name of this sets family. -->
8 <!-- @param lastchanged The full date, user name and machine name of the last editor. -->
9 <!-- uses the form: -->
10 <!-- Day Mon(th) dd hh:mm:ss yyyy '-' <username> on <machine> -->
11 <!-- @param namespace The namespace of this metadata set. -->
12 <!ELEMENT MetadataSet ((Name|Description|Element)+)>
13 <!ATTLIST MetadataSet
14 contact CDATA #REQUIRED
15 creator CDATA #REQUIRED
16 description CDATA #REQUIRED
17 family CDATA #REQUIRED
18 lastchanged CDATA #REQUIRED
19 name CDATA #REQUIRED
20 namespace CDATA #REQUIRED>
21
22 <!-- The name of a metadata set. Is language specific. -->
23 <!ELEMENT Name (#PCDATA)>
24 <!ATTLIST Name
25 language CDATA "en">
26
27 <!-- The description of a metadata set. Is language specific. -->
28 <!ELEMENT Description (#PCDATA)>
29 <!ATTLIST Description
30 language CDATA "en">
31
32 <!-- An element in the metadata set. -->
33 <!ELEMENT Element (Attribute*,OptionList?)>
34 <!ATTLIST Element
35 name CDATA #REQUIRED
36 occurances CDATA "0">
37
38 <!-- Each element has several attribute children. -->
39 <!ELEMENT Attribute (#PCDATA)>
40 <!ATTLIST Attribute
41 name CDATA #REQUIRED>
42
43 <!-- For listing predefined values for this element. -->
44 <!ELEMENT OptionList (Value+)>
45 <!ATTLIST OptionList
46 restricted (true|false) "false">
47]>
48<MetadataSet contact="nzdl.org" creator="New Zealand Digital Libraries Project: Greenstone" family="Extracted Greenstone" lastchanged="Tue May 20 10:30:32 2003 - jmt12 on narya" namespace="ex">
49 <Name language="en">Extracted Greenstone Metadata 1.0</Name>
50 <Description language="en">This document is the reference description, version 1.0 of the automatically extracted Greenstone Metadata Element Set.</Description>
51 <Element name="Encoding">
52 <Attribute language="en" name="comment">Not always available.</Attribute>
53 <Attribute language="en" name="definition">The encoding of the imported document as extracted by Greenstone.</Attribute>
54 <Attribute language="en" name="identifier">Encoding</Attribute>
55 </Element>
56 <Element name="Language">
57 <Attribute language="en" name="comment">Not always available.</Attribute>
58 <Attribute language="en" name="definition">The language of the imported document as extracted by Greenstone.</Attribute>
59 <Attribute language="en" name="identifier">Language</Attribute>
60 </Element>
61 <Element name="Source">
62 <Attribute language="en" name="comment">Hidden in the Librarian Interface as it already shown by the various file trees.</Attribute>
63 <Attribute language="en" name="definition">The filename of the document imported by Greenstone.</Attribute>
64 <Attribute language="en" name="identifier">Source</Attribute>
65 </Element>
66 <Element name="Title">
67 <Attribute language="en" name="comment">Not always available.</Attribute>
68 <Attribute language="en" name="definition">The title of the imported document as extracted by Greenstone.</Attribute>
69 <Attribute language="en" name="identifier">Title</Attribute>
70 </Element>
71</MetadataSet>
Note: See TracBrowser for help on using the repository browser.