es_get_text
Fetch consolidated XML text of Spanish legislation by BOE ID, optionally retrieving a specific block for focused access.
Instructions
Fetch the consolidated text (XML) of a law, whole or by block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boe_id | Yes | a BOE identifier, e.g. ``"BOE-A-2018-16673"``. | |
| block_id | No | optional block id from ``es_get_index`` (e.g. ``"a1"`` for Articulo 1). Omit for the full consolidated text (can be large). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| format | No | xml | |
| content | No | ||
| eli_uri | No | ||
| block_id | No | ||
| byte_size | No | ||
| source_url | No | ||
| content_type | No | ||
| dataset_note | No | BOE consolidated legislation is reached by BOE id / ELI (es_get_act, es_get_text) or by browsing the daily gazette (es_browse_gazette). The BOE open-data keyword-search endpoint is unavailable (server-side error), so this connector offers no free-text search. | |
| human_readable_citation | No |