Office of Public Sector Information

Office of Public Sector Information

Navigation


Main navigation

Supplementary menus and contents

The Crown XML Schema for Legislation

The Crown XML Schema for Legislation provides a full and comprehensive encoding for all United Kingdom primary and secondary legislation. It has been written using the World Wide Web Consortium XML Schema language and is the Government's official and authoritative data standard for legislation. Once a piece of legislation has been enacted or made, it is stored using this Schema format. Schema compliant legislation is available in XML for onward supply to legal publishers and others.

The Crown XML Schema for Legislation and supporting documentation are made freely available for re-use, on a non-exclusive world wide basis, including for commercial purposes. The Schema is published here as a reference source for all those with an interest in data standards for legislation. For those exploring the Schema for the first time, there is a User Guide and some Introductory Bindings which demonstrate the main features of the Schema. Full Technical Reference Documentation and an extensive set of Reference Bindings are also provided. Any questions or comments about the Schema or the supporting documentation should be directed to John Sheridan, Head of e-Services at the Office of Public Sector Information.

XML Schema

User Guide

Technical Reference Documentation