List Items in a Table
Issue
User has DITA source like the following
<row> <entry> <ul> <li> </row> </entry>
and is wanting it to have its own Paragraph Style in the Style Designer
Resolution
This will require a modification to the default.wwconfig. For more information please refer to this page: http://wiki.webworks.com/HelpCenter/Tips/DITA/All%20Versions/DITA%20Configuration
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:choose> <xsl:when test="string-length(@outputclass) > 0"> <xsl:value-of select="@outputclass" /> </xsl:when> <xsl:when test="$VarIsInATable"> <xsl:text>Table List</xsl:text> </xsl:when>