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.
sec_tr
The SEC Inline XBRL transformation registry (ixt-sec, http://www.sec.gov/inlineXBRL/transformation/2015-08-31), with the exact semantics of the SEC’s own EDGAR/transform plugin for Arelle: duration spill-over (duryear “1.5” is P1Y6M), word numbers and word durations, ballot boxes, quarter ends, and the name-to-code tables (countries, states and provinces, EDGAR state/country codes, exchanges, filer categories).
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).