Skip to main content

Crate crossfoot_inline

Crate crossfoot_inline 

Source
Expand description

crossfoot-inline: Inline XBRL 1.0/1.1 document sets → XBRL instances, the Inline XBRL validation rules and the transformation registry (ixt v1–v5, ixt-sec).

Contract (frozen): load_document_set, InlineSet, validate, transform::apply, is_inline.

Output-instance semantics follow the specification’s mapping to target documents: Fact::lang is the xml:lang the fact has in the generated target document (copied from the ix element, an enclosing output tuple or the target root via ix:references), not the language in scope in the XHTML. The XHTML language is still reachable through InlineInfo::element.

Modules§

codes
Inline XBRL error codes. The specification defines no standard codes; the local names follow the conformance suite (ix11.<section>:<Name>), so a code’s local part equals the suite’s expected error.
transform
The Inline XBRL Transformation Registry: versions 1 (and the 2008 pre-REC namespace) through 5, plus the SEC transformations that have no lookup tables.

Structs§

InlineSet

Functions§

is_inline
Is this document meant as an Inline XBRL document: an XHTML root using an ix namespace, or any root that declares an ix namespace (so that non-XHTML inputs to an inline document set are reported rather than read as XBRL instances)?
load_document_set
Load an inline document set. Documents are the XHTML files of one report.
validate
Inline XBRL validation rules that need the DTS (e.g. nonFraction on numeric concepts).