
Hai,
my application has two check box one for chart and another one for table.when We click chart check box download only chart but table also download.same problem in table slection..xsl coding was used in my application..please help me...
</xsl:if>
<xsl:if test="$chartPageBreak='true'">
<fo:block break-after="page"/>
</xsl:if>
<fo:block font-size="10pt">
<fo:table table-layout="fixed">
<fo:table-body>
<xsl:apply-templates select="head"/>
<xsl:apply-templates select="body"/>
</fo:table-body>
<xsl:attribute name="width">
<xsl:choose>
<xsl:when test="$tableWidth">
<xsl:value-of select="concat($tableWidth,'cm')"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="'100%'"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<!-- for each corner, create #columns=col-span-->
<xsl:for-each select="/mdxtable/body/row">
<xsl:sort select="count(cell)" data-type="number" order="ascending"/>
<xsl:if test="position() = 1">
<xsl:call-template name="do_columns">
<xsl:with-param name="colnum">
<!-- if there is a corner, then this works, otherwise need to count row heading-heading colspans -->
<xsl:choose>
<xsl:when test="count(/mdxtable/head/row/corner)=0">
<xsl:value-of select="sum(/mdxtable/head/row/heading-heading/@colspan)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="count(cell) + /mdxtable/head/row/corner/@colspan"/>
</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
</fo:table>
</fo:block>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.