Altova StyleVision 2024 Enterprise Edition

The Context template returns XBRL context elements in the instance file (see listing below).


<xbrli:context id="FY06">


    <xbrli:identifier scheme="">00058</xbrli:identifier>








When the Context template is inserted in the design, it is created as an empty template. You must therefore insert a contents placeholder in the design if you wish to output the contents of the element.




Note the following points:


The location where the context template is inserted is significant. So you must ensure that you understand the hierarchical context within which the XBRL context node is inserted.

The template returns all context elements at the hierarchical level at which the template is inserted.

Within a Context template a particular context element in the instance file can be selected by creating a condition around the contents placeholder.  This could be done, for instance by specifying the value of the id attribute of a context element (see screenshot above).


© 2018-2024 Altova GmbH