XML: Essentials, Schemas, and EAD

Learning Objectives

  • Understand the rules of XML syntax
  • Author an XML document
  • Understand what schemas are used for
  • Create a schema using the XML Schema language
  • Validate an XML document against a schema
  • Create and validate an EAD document

Prerequisite Skills

  • Use a mouse and keyboard
  • Open and save files
  • Open and close windows
  • Switch between windows

XML: Essentials, Schemas, and EAD Contents

Expand the accordion folds to see a detailed description of the content.

Explore the contents of XML: Essentials, Schemas, and EAD:

Learn about the history of XML, as well as practical applications of XML.

See the full content for Understanding XML.

Learn about the project created as part of XML: The Essentials, as well as set up the XML editing environment.

See the full content for Setting Up the XML Editing Environment.

Learn how to set up a new project in oXygen XML Editor.

See the full content for Setting up a new project in oXygen XML Editor.

Learn more about the syntax rules for creating XML documents.

See the full content for Exploring XML Syntax.

Check an XML document to ensure the content is well-formed - or, in other words, follows the rules of XML syntax.

See the full content for Checking for Well-Formedness.

Explore the difference between narrative and data-centric XML documents, as well as how to determine appropriate tags for an XML document based on the data you're working with.

See the full content for Designing an XML Document.

Attributes can be added to elements to help provide additional information about an element's contents - explore how to add them to elements in this section.

See the full content for Introducing Attributes.

Finish marking up the job_postings.xml file.

See the full content for Finish Adding Markup to the Document.

Schemas are used with XML files to help describe the structure of an XML document - learn more about why they're useful when working with XML in this section.

See the full content for What is a schema?.

XML Schema Definition, also simply referred to as XML Schema, is a schema language that follows XML syntax when constructing a schema. Learn more about XML Schema Definition in this section.

See the full content for XML Schema Definition: An introduction.

Learn how to create element declarations in the XML Schema Definition language.

See the full content for Creating element declarations in XML Schema.

Explore how to create attribute declarations in an XML Schema document.

See the full content for Creating attribute declarations in XML Schema.

Once your schema is complete, you can associate it with an XML document to help check for any errors in your markup. This section covers associating an XML Schema with an XML document, as well as checking an XML document for validity.

See the full content for Associate an XML Schema with an XML document.

In this section, you'll learn how to validate an XML document right inside the oXygen XML Editor application.

See the full content for Validate an XML document using a schema in oXygen XML Editor.

Check your work against the code listed here.

See the full content for Appendix 1: Completed Code Listing.

This is the code listing for the finished version of jobs.xsd.

See the full content for XML Schema: Completed code listing for jobs.xsd.

Learn more about what namespaces are used for in XML.

See the full content for Namespaces in XML.

Learn more about Encoded Archival Description (or EAD) in this section, including a little bit about its history and how it is used.

See the full content for XML and EAD: Introducing Encoded Archival Description (EAD).

In this section, learn more about the project you'll be completing as part of today's session, as well as learn about the basic building blocks of an EAD document.

See the full content for XML and EAD: Getting started with using EAD.

In this section, learn more about the administrative information you'll need to include in the eadheader element.

See the full content for XML and EAD: Including administrative information about the document.

This section shows you what you'll need to include when describing the contents of an archive.

See the full content for XML and EAD: Describing an archive and its contents.

In this section, we'll explore ways to group objects in an archive, as well as how to include the individual objects in an archive in an EAD document.

See the full content for XML and EAD: Grouping and documenting the objects in an archive.

This page contains the completed code for the edmondson.xml document created as part of the XML and EAD training.

See the full content for XML and EAD: Final code listing for edmondson.xml.

Back to XML: Essentials, Schemas, and EAD Contents