Build a complete CERIF 1.6 document
build_documentWrap entity and link fragments into a complete CERIF 1.6 XML document with official namespace, date, and source database.
Instructions
Wraps one or more entity/link fragments (from build_entity / build_link) into a complete CERIF 1.6 XML document with the official namespace urn:xmlns:org:eurocris:cerif-1.6-2, date, and sourceDatabase. Always validate the result with validate_xml.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Document date, ISO yyyy-MM-dd (default: today) | |
| blocks | Yes | Entity/link XML fragments to include (from build_entity/build_link) | |
| pretty | No | Pretty-print output (default true) | |
| schemaLocation | No | Add xsi:schemaLocation (default false) | |
| sourceDatabase | No | sourceDatabase attribute (default "cerif-mcp") |