next up previous
Next: The Application Description (AD) Up: OASIS4 description and configuration Previous: OASIS4 description and configuration

Introduction to XML concepts

Extensible Markup Language (XML) is a simple, very flexible text format. Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere. An XML document is simply a file which follows the XML format.

The purpose of a DTD or a Schema is to define the legal building blocks of an XML document. The AD, SCC, PMIOD and SMIOC XML documents must follows the Schemas files ad.xsd, scc.xsd, pmiod.xsd and smioc.xsd respectively, available in the directory oasis4/util/ xmlfiles.

The xmllint command with the following options can be used to validate an XML file file.xml against a Schema file file.xsd:

xmllint -noout -valid -postvalid -schema file.xsd file.xml

The building blocks of XML documents are Elements, Tags, and Attributes.


next up previous
Next: The Application Description (AD) Up: OASIS4 description and configuration Previous: OASIS4 description and configuration
Laure Coquart 2011-12-01