European Legislation Identifier: ELI Metadata and XML
The European Legislation Identifier (ELI) is a standardized framework designed to make European and national legislation online more accessible, discoverable, and interoperable across borders. This article explains the core components of the ELI standard, its reliance on semantic web principles, and the specific mechanisms through which it interfaces with XML formats—such as Akoma Ntoso and custom schema architectures—to structure, serialize, and exchange legal metadata.
What is the European Legislation Identifier (ELI)?
The European Legislation Identifier (ELI) is an initiative adopted by the Council of the European Union to facilitate the sharing and interconnecting of legal information published in national and EU official journals. ELI operates on three distinct pillars:
- Persistent Identifiers: Standardized, human-readable HTTP Uniform Resource Identifiers (URIs) that uniquely identify legal acts, their specific language versions, and their physical file formats across time.
- Metadata Standard: A structured ontology based on
the FRBR (Functional Requirements for Bibliographic Records) model,
defining concepts such as
Work(the abstract legal resource),Expression(the version in a specific language), andManifestation(the concrete file format, such as PDF or XML). - Data Serialization and Exchange: Formal protocols to embed metadata directly into legal texts or publish it in machine-readable semantic formats such as RDFa, JSON-LD, and XML.
How ELI Interfaces with XML
XML (Extensible Markup Language) is the primary document standard used by official gazettes and parliaments worldwide to represent the structural hierarchy of legislation. ELI integrates with XML environments through several specific technical methods:
1. Direct Embedding via RDFa in XHTML and XML
ELI metadata is frequently embedded within XML-compliant formats
(like XHTML) using RDFa (Resource Description Framework in Attributes).
This allows legal publishers to mark up existing XML elements with
semantic meaning without altering the human-readable text. Standard XML
elements utilize attributes such as property,
resource, typeof, and
vocab="http://data.europa.eu/eli/ontology#" to define the
act’s publication date, enacting authority, language, and subject
classification directly in the document body or header.
2. XML Metadata Blocks in Legal Schemas
In standalone XML legal documents, ELI elements can be declared
natively using the ELI XML Schema Definition (XSD). A designated
<metadata> section within the XML envelope contains
ELI-specific nodes, such as:
<eli:LegalResource>: Identifies the root legal act.<eli:date_document>: Specifies the official date the act was passed.<eli:passed_by>: References the URI of the responsible legislative body.<eli:is_realized_by>: Links the abstract resource to specific language expressions.
These structured tags allow automated XML processors to parse administrative legal metadata consistently, regardless of differences in the full-text XML structure.
3. Mapping to Akoma Ntoso (LegalDocML)
Akoma Ntoso (OASIS LegalDocML) is the international XML standard for
legislative, parliamentary, and judicial documents. The ELI metadata
ontology maps directly onto the Akoma Ntoso <meta>
container:
- FRBRWork maps to the ELI Work URI.
- FRBRExpression maps to the ELI Expression URI.
- FRBRManifestation maps to the ELI Manifestation URI (the XML file itself).
Because both standards rely on FRBR conceptual modeling, an XML parser can automatically generate ELI URIs and metadata directly from the native Akoma Ntoso identification blocks.
4. Transformation and Harvesting Pipelines
ELI serves as a bridge between traditional XML legal databases and semantic Web endpoints (SPARQL endpoints). Using Extensible Stylesheet Language Transformations (XSLT), legal publishers can automatically extract ELI-compliant metadata from complex, proprietary XML repositories and output standardized RDF/XML or JSON-LD feeds. This enables automated legal aggregators, such as the European e-Justice Portal and EUR-Lex, to harvest legal acts from diverse national XML sources without requiring full structural homogenization of the underlying laws.