L'élément <chhead> est un conteneur dans l'élément <choicetable> qui fournit un texte de rubrique spécifique pour remplacer les rubriques par défaut « Options » et « Description ». L'élément <chhead> contient un couple d'éléments <choptionhd> et <chdeschd>.
<step><cmd>Then this</cmd>
<substeps>
<substep importance="optional"><cmd>which is done by doing this</cmd></substep>
<substep importance="required"><cmd>and then this.</cmd></substep>
</substeps>
<choicetable>
<chhead>
<choptionhd>Do something</choptionhd>
<chdeschd>Or Else this</chdeschd>
</chhead>
<chrow><choption>Do this</choption>
<chdesc>and this will happen</chdesc></chrow>
<chrow><choption>Do that</choption>
<chdesc>and that will happen</chdesc></chrow>
</choicetable>
</step>
| Doctype | Modèle de contenu |
|---|---|
| ditabase, task | ( ( choptionhd) puis ( chdeschd) ) |
| Doctype | Parents |
|---|---|
| ditabase, task | choicetable |
- topic/sthead task/chhead
| Nom | Description | Type de donnée | Valeur par défaut | Obligatoire ? |
|---|---|---|---|---|
| %univ-atts; (%select-atts;, %id-atts;, %localization-atts;) | Un ensemble d'attributs liés, décrit à la section 25.7. %univ-atts; | entité paramètre | sans objet pour une entité paramètre | sans objet |
%global-atts; (xtrf, xtrc) |
Un ensemble d'attributs liés, décrit à la section 25.2. %global-atts; | entité paramètre | sans objet pour une entité paramètre | sans objet |
class, outputclass |
Attributs communs, décrit à la section 25.9. Autres attributs DITA communs |
OASIS DITA Version 1.1 Language Specification — OASIS Standard, 1 August 2007
Copyright © OASIS Open 2005, 2007. All Rights Reserved.