|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Antwort: Re: xsl:fo and tables
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








