Welcome to Political Mashup Schemas

The purpose of this webpage is to provide an entry point to the several schemas that have been developed for the Political Mashup project

Within this project, source documents of various origins are transformed into richly annotated XML documents. These documents all validate against a schema. These schemas are written in Compact RelaxNG.

The schemas are documented as hyperlinked html pages. Each rnc file has a companion html file with the same name. These html files have been generated automatically, and provide a nice view of the content of the rnc file, with all references hyperlinked to their definitions.

Document structure

The schemas for the Political Mashup project all follow the same basic pattern.

Each document consists of a root element called root, with three child elements:

Docinfo

Within the docinfo element, all transformation steps are described that were used to transform the source document into the current form.

Meta

Within the meta element, all meta data with respect to the document collection, the current document, and the document format is given in Dublin Core format.

Content

The third child of root depends on the document type:

Toolbox

Whenever the same elements or attributes are used in more than one place, they are defined in an external rnc file, grouped by function. All these files are included together in one central rnc file, the toolbox. Schemas that use one or more definitions from the toolbox only need to include the toolbox. This design prevents double definitions.

Open schemas

Schema users that may wish to add elements or attributes to a particular schema, may do so by using the open version of the schemas:

These schemas are open in the sense that they allow foreign elements and attributes whereever possible. Foreign nodes are defined as elements and attributes that are not in any of the namespaces used by Political Mashup.

These are the open versions of the schematron schema's:

These schemas are open in the sense that they allow foreign elements and attributes whereever possible. Foreign nodes are defined as elements and attributes that are not in any of the namespaces used by Political Mashup.