Movatterモバイル変換


[0]ホーム

URL:


legislation.gov.uk

https://www.nationalarchives.gov.uk

Search Legislation

Advanced Search

Section Navigation

Back to top

Formats

This page describes the formats that are currently available within LegislationAPI. Although only a few formats are available at the moment, we intend to make legislation content including metadata and the results of searches, available in a variety of different formats so that you can pick one that suits your needs. The available formats, their mime type and the filename used within therepresentation URI for the document are listed in the following table.

FormatMime TypeFilename
XMLapplication/xml ortext/xmldata.xml
HTMLapplication/xhtml+xmldata.rdf
RDF/XMLapplication/rdf+xmldata.rdf
Atomapplication/atom+xmldata.feed

XML

We provide the content of legislation in XML format using aLegislation Schema that includes both metadata and the content of legislation. The Legislation Schema usesDublin Core for metadata,XHTML for tables andMathML for formulae.

Both the table of contents and the full content of the legislation includes links to other parts of the legislation. TheIdURI attribute provides theidentifier URI for the section. This URI identifies the section, but not the particular version that should be linked to from the view of the legislation that you are looking at. TheDocumentURI attribute provides thedocument URI for the section, which includes any selected extent and the currently viewed version.

Read more...

HTML

HTML Format

We provide the content of sections and tables of contents in a ready-transformed HTML format that is suitable for embedding within a web page.These HTML snippets are only available through theirrepresentation URI and not through content negotiation.

Read more...

RDF/XML

We are publishing RDF about the legislation that is provided here using the vocabularies:

VocabularyPrefixNamespace
RDF Schemardfshttp://www.w3.org/2000/01/rdf-schema#
OWLowlhttp://www.w3.org/2002/07/owl#
Dublin Core Termsdcthttp://purl.org/dc/terms/
FOAFfoafhttp://xmlns.com/foaf/0.1/
XHTML Vocabularyxhvhttp://www.w3.org/1999/xhtml/vocab#
FRBRfrbrhttp://purl.org/vocab/frbr/core#
Metalexmetalexhttp://purl.org/vocab/frbr/core#

We are using these vocabularies because they will provide high recognition and ability for reuse without developers having to understand a specific legislation ontology. We do intend to use a specific legislation ontology in addition.

Read more...

Atom Feeds

We providelists of legislation inAtom.

Read more...

OGL logoAll content is available under theOpen Government Licence v3.0 except whereotherwise stated. This site additionally contains content derived from EUR-Lex, reused under the terms of theCommission Decision 2011/833/EU on the reuse of documents from the EU institutions. For more information see theEUR-Lex public statement on re-use.

©Crown and database right

[8]ページ先頭

©2009-2026 Movatter.jp