View Categories

p.simpletable.head.entry

< 1 min read

Table of Contents

Syntax #

p.simpletable.head.entry

Purpose #

The p.simpletable.head.entry annotation is used to tag an element as being an entry in the header row of a simple table. A simple table is any table of uniform size and shape with no additional formatting or captions applied. This annotation creates a table, so to be applied correctly, the content must not be contained within a table (see Example).

When this annotation is applied to consecutive paragraphs, it will group them into one simple table header row.

Examples #

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

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

The following is an example of the DITA output you would get from this annotation.

 

<simpletable>
<sthead>
<stentry>Term</stentry>
<stentry>Abbreviation</stentry>
<stentry>Definition</stentry>
</sthead>
</simpletable>