Handle numbered lists

This commit is contained in:
Carol (Nichols || Goulding) 2016-10-14 19:56:52 -04:00
parent ec6f167fbb
commit c7b78d8bce
1 changed files with 12 additions and 0 deletions

View File

@ -36,6 +36,18 @@
<xsl:text>&#10;&#10;</xsl:text>
</xsl:template>
<xsl:template match="w:p[w:pPr/w:pStyle[@w:val = 'NumListA' or @w:val = 'NumListB']]">
<xsl:text>1. </xsl:text>
<xsl:apply-templates select="*" />
<xsl:text>&#10;</xsl:text>
</xsl:template>
<xsl:template match="w:p[w:pPr/w:pStyle[@w:val = 'NumListC']]">
<xsl:text>1. </xsl:text>
<xsl:apply-templates select="*" />
<xsl:text>&#10;&#10;</xsl:text>
</xsl:template>
<xsl:template match="w:p[w:pPr/w:pStyle[@w:val = 'BodyFirst' or @w:val = 'Body']]">
<xsl:apply-templates select="*" />
<xsl:text>&#10;&#10;</xsl:text>