LayManSys Specification: Layout Definitions in RDF-Files

This namespace contains elements for including layout information in LayManSys RDF files.

XML Namespace Information

XML Namespace
Preferred Namespace Prefix



This is a stand-alone (empty) tag for including a so-called layout.cfg file. Use this attributes:

Specifies the config files path. It can either be relative or absolute to the constant value DIR . '../'; the constant DIR points to the document root, so it is absolute to the web projects directory.
LayManSys uses MIME types to determine how to handle the configuration files:
This tells LayManSys that the layout configuration is in the popular INI format as it can be read using the PHP function parse_ini_file.
It is planned that LayManSys also supports XML-based configuration files that use the following elements.


This tag is the root element for a XML-based layout configuration. It enclosures all other layout tags in the RDF files:

	<!-- somewhere in the RDF file: -->
	<layout xmlns="">
		<!-- put here the layout tags -->

There is only one attribute:

an optional name for the layout


The following elements can be used as stand-alone tags, referencing the files using href respective src attributes. But the file paths can also be the tags node value.


This tags purpose is including a so-called "favicon" that most browsers display in the address bar. It has the following attributes:

This is the URI path to the icon file.
This is icons MIME type. Common icon types are image/x-icon or image/png.


This element references (and not includes) a Style Sheet file of any type and for any utput media, unlike the elements for css content. The tag accepts this attributes:

This is the style files URI path.
The style sheets MIME type, e.g. text/css.
A certain output medium the style sheet is designed for, e.g. screen.
This is the files optional title. Some browsers use it for letting the choose a certain one.
Your style sheets may be in a different character set than your web documents. Use this attribute to specify an explicit charset like UTF-8 or ISO-8859-1.

LayManSys supports the inclusion of a navigation module using this tag. It requires the following attributes:

This is the modules path, either relative or absolute to the constant DIR . '../'.
The modules MIME type can be one of these:
This tells LayManSys that the navigation module is a "plain" HTML that can be passed through (using readfile).
This type specifies a PHP module that is included (using include). The module has to define a function named getNavigation, accepting two, optional three arguments:
  1. The URI path (a string) of the section the current document belongs to (as specified by the first link:section).
  2. The documents encoding as string value.
  3. A (optional) reference to the $meta objects array with the documents related links.
This function may either write the navigation directly, but than has to return a printable value (this can also be ''), or return the whole navigations HTML code.