List Items in a Table


User has DITA source like the following


and is wanting it to have its own Paragraph Style in the Style Designer


This will require a modification to the default.wwconfig. For more information please refer to this page:

In this file, please refer to around line 386, and you will add the VarIsATable Variable to add the "Table List" Paragraph style as indicated below:

<xsl:variable name="VarIsInATable" select="count(ancestor::*[local-name() = 'table'][1]) = 1" />

   <xsl:variable name="VarName">
     <xsl:when test="string-length(@outputclass) &gt; 0">
      <xsl:value-of select="@outputclass" />

     <xsl:when test="$VarIsInATable">
      <xsl:text>Table List</xsl:text>

Permalinks/Solutions/Input/DITA/ListInATable (last edited 2011-04-14 23:04:53 by LaurenLever)