Paged.The open publishing system
The format atlas
Element referenceResources/Styles

<Condition> / Element reference

Condition

The Condition element in IDML: where it appears (Resources/Styles), its 4 attributes, their values, and how real documents use them.

Tier: ProProIIIreference

Definition

A conditional-text condition; text that applies it is shown or hidden with the condition's Visible flag.

Lives in
Resources/Styles 1
Frequency
In 1 of the 305 documents of the census (0.3%), 2026-10-12
Attributes
4 observed, 3 of them vary between documents
Discussed in
Conditions and condition sets, Conditional text, Glossary, Visibility, Conflict resolution and Resource parts

Structure

Relationships

Inside

  • RootConditionalTextGroup1
Condition

Contains

no elements

Where Condition sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).

Attributes

AttributeTypeValuesDefaultSeen in
IndicatorMethod#
How text with this condition is marked on screen while editing (InDesign writes UseHighlight); it does not affect output.
keywordany—100%
Name#
The name InDesign shows for the object in its panels. References between objects use Self, never the name.
keywordany—100%
varies in 1
Self#
The object's ID, unique within the document. An attribute that refers to this object holds this value.
referenceany—100%
varies in 1
Visible#
When false, text with this condition is hidden: it stays in the story but is neither shown nor printed.
booleananytrue100%
varies in 1
The attributes documents set on Condition (census of 2026-10-12, 305 documents). Seen in is the share of the 1 documents with a Condition that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.

Visualization

Page 1 of the example “One run under a visible and a hidden condition”, as InDesign exports it.
Condition in the example “One run under a visible and a hidden condition”, page 1, as InDesign 20.0.1.32 exports it (checked 2026-10-11). The example, with its source, is in Visibility.

Behavior

  • A run that names two conditions, one visible and one hidden, isolates the multi-condition rule; control runs show each condition on its own.

    Shown, with its source and a live render, in Visibility.

  • A Condition is defined in designmap.xml as a direct child of Document; a run names it in AppliedConditions, and while the condition is hidden the run is not printed.

    Shown, with its source and a live render, in Conditions and condition sets.

Evidence

Observed
In 1 of 305 documents (0.3%): Resources/Styles 1.
Census
Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
Counts are
Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.
InDesign checks

Paged support

What Paged, one implementation of the format, does with Condition. Nothing in this panel is part of the format; the reference above holds for any reader.

As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged 6347aa9, read 2026-11-24; render from the capability record exported 2026-11-24.

Parse
Reads 4 of the 4 attributes
Render
2 features of the capability record name this element (below); examples compared with InDesign below
Edit
1 attribute map to a scriptable path for paged.set
Write
Writes 4 of the 4 attributes on IDML export

By attribute

In the capability record

FeatureParseRenderEditEvidence
Condition visibility ops (SetConditionVisible, ActivateConditionSet)
shipped
——yesAll linked evidence is passing (3 tests current)
Condition visibility filtering (hidden runs pre-layout)
shipped
yesyes—All linked evidence is passing (6 tests current)

Rendered against InDesign

Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names Condition.

On this page