|
Subject: [xsl] fo:table Problem, not showing data From: "Tuan Luu" <tuanluu@xxxxxx> Date: Tue, 30 Mar 2004 08:37:31 +0200 (MEST) |
Hello
I have a problem showing the data in a table from fo:table, without the
fo:table tags, it does work. I don't know exactly what is missing.
Here is the sample code:
<xsl:template match="anwendungen">
<!-- this is the code without fo:table (it does work)
<xsl:for-each select="anwendung">
<fo:block>
<xsl:apply-templates/>
</fo:block>
</xsl:for-each>
down here comes the code with a table, that is not working-->
<fo:table background-color="#00ff00"
padding-left="2px" padding-right="2px" padding-bottom="2px"
padding-top="2px"
margin-left="0px" margin-right="0px" margin-top="0px"
margin-bottom="0px"
border-color="#00ff00" border-style="solid"
border-left-width="1px" border-right-width="1px"
border-bottom-width="1px" border-top-width="1px"
width="600pt">
<fo:table-body>
<xsl:for-each select="anwendung">
<xsl:sort select="bezeichnung" />
<fo:table-row font-weight="bold">
<fo:table-cell>
<fo:block>
<fo:block><xsl:value-of
select="."/></fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
</xsl:template >
--
+++ NEU bei GMX und erstmalig in Deutschland: T\V-gepr|fter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XML grouping/sorting ques, Kevin Daniels | Thread | RE: [xsl] fo:table Problem, not sho, Andreas L. Delmelle |
| [xsl] XML grouping/sorting question, Kevin Daniels | Date | [xsl] how to <xsl:apply-templates /, Terence Kearns |
| Month |