Reference Guide

The new MetaLex reference guide gives an browsable overview of all the elements that are defined in the metalex.xsd schema.

You can find definitions of the XML elements needed to use references, citations and multiple languages from within MetaLex documents. And also the definitions of the XML elements needed to represent regulations.

This page lists all elements and complexType’s defined in the metalex.xsd schema.

You can find the documentation in the Metalex 1.3 schema guide.

How to use MetaLex

Every MetaLex XML file is an XML file:

<?xml version="1.0" encoding="UTF-8"?>

Be sure to make the encoding attribute correspond to the actual encoding of the XML file.

It is optional to include a reference to an XSL Stylesheet for automatically rendering the document to a different format - in this case an English-version XHTML document:

<?xml-stylesheet type="text/xsl" href="../transform/en/xhtml_en.xsl"?>

The MetaLex schema can be incorporated into a MetaLex compliant XML file by adding a reference to the schema to the Regulation element, as follows:

<Regulation xmlns="http://www.metalex.nl/latest"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.metalex.nl/latest
../schema/metalex.xsd">

...insert MetaLex code here...

</Regulation>


Reference Pages