xsl-list
[Top] [All Lists]

Antwort: Re: xsl:fo and tables

2002-11-15 07:37:43

Hi,

I don't quite get your answer.
This template works fine:

<xsl:template match="RESULTSET/CDRS">
   <xsl:for-each select="NUMBER">
      <fo:block
        font-size="12pt"
        font-family="Arial"
       text-align="start">
           <xsl:value-of select="@MD_CALLED_NUMBER"/>
         </fo:block>
     </xsl:for-each>
   </xsl:template>

So why shouldn' this template work:
<xsl:template match="RESULTSET/CDRS">
  <fo:table width="100">
    <fo:table-body>
      <xsl:for-each select="NUMBER">
        <fo:table-row>
           <fo:table-cell width="50">
             <fo:block><xsl:value-of select="@MD_CALLED_NUMBER"/></fo:block

           </fo:table-cell>
           <fo:table-cell width="50">
             <fo:block><xsl:value-of select="@MD_CHARGEABLE_IMSI"/></
fo:block>
           </fo:table-cell>
        </fo:table-row>
      </xsl:for-each>
    </fo:table-body>
  </fo:table>
</xsl:template>

Thanks
Jonny


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>