Article · Wikipedia archive · Last revised Jul 12, 2026

Conditional text

Conditional text is content within a document that is meant to appear in some renditions of the document, but not other renditions.

Last revised
Jul 12, 2026
Read time
≈ 1 min
Length
114 w
Citations
1
Source

Conditional text is content within a document that is meant to appear in some renditions of the document, but not other renditions.

For example, a writer can produce Macintosh and Windows versions of the same software manual by marking Macintosh-specific content as "Macintosh only" and Windows-specific content as "Windows only." Everything that is not marked for one platform or the other, appears in the manuals for both platforms.

In Structured authoring standards such as DITA, conditional text is implemented through profiling attributes such as audience, platform and product, which allow content to be filtered or flagged at publishing time.1

References

References

  1. "Conditional processing (profiling)". docs.oasis-open.org. Retrieved 2026-03-13.
See also

See also