+<xsl:template match="tablewrap">
+ <cmd name="begin"><parm>table</parm><opt>h!</opt></cmd>
+ <xsl:apply-templates select="table"/>
+
+ <cmd name="caption*"><parm>
+ <xsl:apply-templates select="akap"/>
+ </parm></cmd>
+ <cmd name="end"><parm>table</parm></cmd>
+</xsl:template>
+