p.choice.head

1 min read

Table of Contents

Syntax #

p.choice.head

Purpose #

The p.choice.entry annotation is used to indicate a header for decision points contained in table cells within a procedure. This annotation marks table cell contents as being a choice rather than context or a step.

See p.choice.entry for more information.

Examples #

The following is an example of a time where you might want to use the p.choice.head annotation:

The following is an example of a rule that will apply p.choice.head:

 

The following is the DITA XML output for the rule:

 

 

<step>
<cmd>Choose one of the following options:</cmd>
<choicetable>
<chrow>
<choption><step><choicetable><chhead id=”ID-000000a6″>Option A</chhead></choicetable></step>
</choption>
<chdesc><step><choicetable><chhead id=”ID-000000a8″>Option B</chhead></choicetable></step>
</chdesc>
</chrow>
<chrow>
<choption><step><choicetable><chrow id=”ID-000000ab”>In the Paragraph pane, select Numbering.</chrow></choicetable></step>
</choption>
<chdesc><step><choicetable><chrow id=”ID-000000ad”>In the Paragraph pane, select Bullets.</chrow></choicetable></step>
</chdesc>
</chrow>
</choicetable>
</step>