Examples
This page lists a number of examples to illustrate the use of MetaLex for different kinds and versions of documents in the spirit of the MetaLex Guidelines. The examples make extensive use of the XSL Stylesheets which are part of the MetaLex distribution. These stylesheets are dynamically applied to the source documents using an Apache Cocoon server. The MetaLex zip file layout is a direct copy of the contents of the dynamic part of this website. The examples show how to use multiple language versions of the same regulation, how to generate RDF (or more specifically OWL Description Logic) from MetaLex XML documents, and how to localize the MetaLex schema.
These examples are all `live’. If you wish to apply XSL Stylesheets offline, for testing your own MetaLex XML documents, or for exploring the distribution, you can either download Apache Xalan-Java 2.7.0 and use the command-line tools provided in the `tools’ directory of the distribution, or you can download the convenient MetalexStyler tool.