Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] Background-image challenge

Expand Messages
  • C. Myers
    Hi, I need to use the column-width as a base variable to derive another value dynamically, I tried to use the function of from-table-column() , it didn t
    Message 1 of 11 , Dec 6, 2004
    • 0 Attachment
      Hi,

      I need to use the column-width as a base variable to derive another value dynamically, I tried to use the function of "from-table-column()", it didn't work. Could someone give me a hint? Please refer to the following codes, thanks.



      <fo:table space-before.optimum="3pt">

      <fo:table-column column-width="proportional-column-width(2.5)"/>

      <fo:table-column column-width="proportional-column-width(3.5)"/>

      <fo:table-column column-width="proportional-column-width(20)"/>

      <fo:table-body>

      <fo:table-row>

      <fo:table-cell>

      <fo:block><xsl:call-template name="code-left-icons" /></fo:block>

      </fo:table-cell>

      <fo:table-cell>

      <xsl:call-template name="codetemplate" />

      </fo:table-cell>

      <fo:table-cell>

      <xsl:variable name="column-width"><xsl:value-of select="from-table-column(column-width)" /></xsl:variable>

      <fo:block><xsl:value-of select="$column-width" /></fo:block>

      <xsl:call-template name="descriptiontemplate" />

      </fo:table-cell>

      </fo:table-row>

      </fo:table-body>

      </fo:table>

      </xsl:template>




      ---------------------------------
      Do you Yahoo!?
      Yahoo! Mail - 250MB free storage. Do more. Manage less.

      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.