i\'ve an XSLT 2.0 which transforms an xhtml Table into an InDesign XML Table. This XSLT counts the maximum number of Elements within eve
相关标签:
-
2021-01-25 19:23
<xsl:attribute name="aid:tcols">
<xsl:for-each select="//tr">
<xsl:sort select="count(td)" order="descending"/>
<xsl:if test="position() = 1">
<xsl:value-of select="count(td)"/>
</xsl:if>
</xsl:for-each>
</xsl:attribute>
should do.
|