Menu

Mailbox

Allan Cunliffe
Attachments
Mailbox.png (5860 bytes)

Introduction

This is a schema to encapsulate mailbox files. A mailbox represents a collection of email messages. The specification consists of a description of the XML schema and an example of an instance of the schema.

Target namespace

http://preservation.naa.gov.au/mailbox/1.0

Declared namespaces

Prefix Namespace

xsd
http://www.w3.org/2001/XMLSchema

mailbox
http://preservation.naa.gov.au/mailbox/1.0

Schema

The following sections describe the mailbox XML schema.

Diagram

XML Schema Definition

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
     xmlns:mailbox="http://preservation.naa.gov.au/mailbox/1.0"
     targetNamespace="http://preservation.naa.gov.au/mailbox/1.0" 
     version="1.0">
<xsd:annotation>
 <xsd:documentation xml:lang="en">
  mailbox. A schema to represent a collection of email messages.
  Developed by the National Archives of Australia. Copyright 2010
  Commonwealth of Australia.
 </xsd:documentation>
</xsd:annotation>
<xsd:element name="mailbox">
 <xsd:complexType>
   <xsd:sequence>
     <xsd:element name="item" type="xsd:string" />
   </xsd:sequence>
 </xsd:complexType>
</xsd:element>
</xsd:schema>

Example

The following is an instance of the mailbox schema.

<mailbox:mailbox xmlns:mailbox="http://preservation.naa.gov.au/mailbox/1.0">
<mailbox:item>20100617093344757-1-4b7849ad.xena</mailbox:item>
<mailbox:item>20100617093358103-2-d2711817.xena</mailbox:item>
<mailbox:item>20100617093358271-3-a5762881.xena</mailbox:item>
<mailbox:item>20100617093358286-4-3b12bd22.xena</mailbox:item>
<mailbox:item>20100617093358301-5-4c158db4.xena</mailbox:item>
<mailbox:item>20100617093358356-6-d51cdc0e.xena</mailbox:item>
<mailbox:item>20100617093358404-7-a21bec98.xena</mailbox:item>
</mailbox:mailbox>

Related

Wiki: Xena_schemas

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.