dk_get_text
Retrieve the complete official LexDania XML text of a Danish legal document by year and number or accession code.
Instructions
Fetch the full LexDania XML of a Danish document (verbatim official text).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | e.g. ``2018`` (use together with ``number``). | |
| number | No | e.g. ``502`` (use together with ``year``). | |
| accession | No | e.g. ``"A20180050230"`` (alternative to year + number). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| format | No | lex-dania-xml | |
| number | No | ||
| content | No | ||
| eli_uri | No | ||
| byte_size | No | ||
| source_url | No | ||
| dataset_note | No | Retsinformation serves Danish consolidated legislation as LexDania 2.1 XML behind native ELI URIs. Address a document by ELI coordinate (year + number in the 'lta' collection = Lovtidende A) or by its accession number; there is no free-text search. dk_recent_changes lists documents changed on a given date via the harvest API (available 03:00-23:45 Danish time). Covers laws (LOV), consolidated laws (LBK), executive orders (BEK), circulars (CIR) and guidelines (VEJ). Language: Danish. | |
| accession_number | No | ||
| human_readable_citation | No |