Altova StyleVision 2024 Enterprise Edition

XBRL Templates

Home Prev Top Next

The XBRL SPS design consists of one \$XBRL root template, which contains a hierarchy of templates. This is similar to SPS designs based on XML Schemas. One major difference, however, is that XBRL SPS designs can use XBRL-specific templates in addition to the schema node templates that are used in schema-based designs. These "XBRL templates" provide an abstraction layer that enables the SPS designer to think in XBRL terms as opposed to the XML structures used to express the XBRL data model.

 

XBRL templates for the different kinds of XBRL components can be placed in the design either by dragging a component from the Schema Tree or via the Insert XBRL Element command (of the Insert menu or Design View context menu). XBRL templates are useful because they provide a quick way to create the main XBRL components at desired locations in the design. XBRL templates can be edited just as any other template. For example, conditions or Design Fragments can be inserted within the template.

 

This section is organized as follows:

 

Types of Templates: XBRL templates are grouped into different types, each of which has unique properties. Knowing these properties is important for working with the templates.

A listing and description of the templates in the submenu of the Insert XBRL Element command.

 

Template location

When inserting an XBRL template, make sure that you understand the hierarchical context within which the node is being inserted.

 

© 2017-2023 Altova GmbH