Hi,
I have typical <fo:table> problem. When ever I tried to print tag value,
outside the <fo:table> the value will be displayed. However value won't
be display inside the <fo:table>.
<xsl:template match="headings">
<fo:block font-family="Times"
font-size="12pt" font-weight="bold" text-align="center">
<xsl:value-of select="col1"/> <!-this value is visible in pdf -->
<xsl:value-of select="col2"/> <!-this value is visible in pdf -->
</fo:block>
<fo:table table-layout="fixed">
<fo:table-column column-width="40mm" wrap-option="no-wrap"/>
<fo:table-column column-width="40mm"/>
<fo:table-column column-width="45mm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:leader leader-length="100%" leader-pattern="rule"
rule-style="double" rule-thickness="4pt" color="black"/>
</fo:block>
<fo:block font-family="Times"
font-size="12pt" font-weight="bold" text-align="center">
<xsl:value-of select="col1"/> <!-this value is not
visible in pdf -->
</fo:block>
<fo:block>
<fo:leader leader-length="100%" leader-pattern="rule"
rule-style="double" rule-thickness="4pt" color="black"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<fo:leader leader-length="100%" leader-pattern="rule"
rule-style="double" rule-thickness="4pt" color="black"/>
</fo:block>
<fo:block font-family="Times"
font-size="12pt" font-weight="bold" text-align="center">
<xsl:value-of select="col2"/> <!-this value is not
visible in pdf -->
</fo:block>
<fo:block>
<fo:leader leader-length="100%" leader-pattern="rule"
rule-style="double" rule-thickness="4pt" color="black"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
</fo:table>
I have attached the xml and xsl for the reference.
Please help me in this regard.
Thanks and Regards
KSB
test.xsl
Description: test.xsl
<?xml version="1.0" encoding="utf-8"?> <header> <client> <name>Swiss test client</name> <number>U5AD, U5AG</number> <StartPeriod>01.09.2006</StartPeriod> <EndPeriod>30.09.2006</EndPeriod> <FinalReport>24.09.2006</FinalReport> </client> <information> <headings> <col1>CUSIP</col1> <col2>ISIN Number</col2> <col3>Security Name</col3> <col4>Investment Type Name</col4> <col5>Incorporated Country Code</col5> <col6>Broker Name</col6> <col7>Blue card</col7> <col8>Cash Broker Flag</col8> <col9>Trade Date</col9> <col10>Post Date</col10> <col11>Transaction Type</col11> <col12>Original Trade Id</col12> </headings> </information> </header>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
