IBM®
跳转到主要内容
    中国 [选择]    使用条款
 
 
Select a scope: Search for:    
    首页    产品    服务与解决方案     支持与下载    个性化服务    
跳转到主要内容

developerWorks 中国  >  XML  >

Using XSL-FO to create printable documents

Portable database reporting using XML revisited

developerWorks

Return to article


Listing 3. Using FO to define a table with two columns
<fo:table>
  <fo:table-column column-width = "90mm" />
  <fo:table-column column-width = "90mm" />
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell>
        <fo:block font-family="Arial" font-style="Regular">Australia</fo:block>
      </fo:table-cell>
      <fo:table-cell>
        <fo:block font-family="Arial" font-style="Regular">ADollar</fo:block>
      </fo:table-cell>
    </fo:table-row>
    <fo:table-row>
      <fo:table-cell>
        <fo:block font-family="Arial" font-style="Regular">Austria</fo:block>
      </fo:table-cell>
      <fo:table-cell>
        <fo:block font-family="Arial" font-style="Regular"\>Schilling</fo:block>
      </fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>

Return to article.

    关于 IBM 隐私条约 联系 IBM 使用条款