Handle captions

This commit is contained in:
Carol (Nichols || Goulding) 2016-10-14 16:59:33 -04:00
parent f5dc07ddf7
commit 9f746e0216

View File

@ -50,6 +50,13 @@
<xsl:text>&#10;&#10;</xsl:text>
</xsl:template>
<xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'Caption']">
<xsl:text>&lt;caption>&#10;</xsl:text>
<xsl:apply-templates select="w:r/w:t" />
<xsl:text>&#10;&lt;/caption></xsl:text>
<xsl:text>&#10;&#10;</xsl:text>
</xsl:template>
<xsl:template match="w:p">
Unmatched: <xsl:value-of select="w:pPr/w:pStyle/@w:val" />
<xsl:text>