synblk

The syntax block (<synblk>) element organizes small pieces of a syntax definition into a larger piece. The syntax block element is part of the DITA programming domain, a special set of DITA elements designed to document programming tasks, concepts and reference information.

Example

<synblk>
<groupseq><kwd>this</kwd><sep>-</sep><kwd>is</kwd><sep>-</sep><kwd>a</kwd>
<sep>-</sep><var>test</var></groupseq>
</synblk>        

Contains

Doctype Content model
ditabase, topic, task, reference, concept, glossary ( ( title) (optional) then ( groupseq or groupchoice or groupcomp or fragref or fragment or synnote or synnoteref) (any number) )

Contained by

Doctype Parents
ditabase, topic, task, concept, reference, glossary syntaxdiagram

Inheritance:

+ topic/figgroup pr-d/synblk

Attributes

Name Description Data Type Default Value Required?
%univ-atts; (%select-atts;, %id-atts;, %localization-atts;) A set of related attributes, described at %univ-atts; parameter entity PE not applicable Not applicable
%global-atts; (xtrf, xtrc) A set of related attributes, described at %global-atts; parameter entity PE not applicable Not applicable
class, outputclass Common attributes described in Other common DITA attributes.      

Return to main page.

OASIS DITA Language Specification v1.1 -- Committee Draft 13 February 2007
Copyright © OASIS Open 2005, 2007. All Rights Reserved.