Hi Satish, I'm honored to get a direct copy of your question, but the list is the correct place for your question. Your main problem is your logging. Somewhere in your logfiles fop should already have logged an error in your code at this point:
<fo:table-column column-width="3cm"/> <fo:table-column column-width="3cm"/> <fo:table-column column-widht="9cm"/> As you can see, in the third line you misstyped width. If this error is only in your mail, not in your actual code, then the real error is in the code coming in through <xsl:value-of select="param1" /> and can't be found with your example code. Regards, Georg Datterl ------ Kontakt ------ Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH: www.irs-nbg.de Willmy PrintMedia GmbH: www.willmy.de Willmy Consult & Content GmbH: www.willmycc.de -----Ursprüngliche Nachricht----- Von: Satish Chennupati [mailto:[email protected]] Gesendet: Sonntag, 31. Januar 2010 13:41 An: '[email protected]' Cc: Georg Datterl Betreff: problem with XSL file. Nested tables not working Hello All, I got the email ids from a forum... I apologize if these are not meant to be used like this. I am very new to XSL and I wrote a piece of code after studying XSL from various sites in two days. My requirements demand implementation of nested tables. If I am using a single table then the code is working fine but as soon as I am integrating the code for the nested table the generated pdf says that the "file is damaged" and don't show any data. The following is the code which I wrote : <fo:table table-layout="fixed" width="15cm" font-size="7pt"> <fo:table-body> <fo:table-row> <fo:table-cell padding="0.1cm"> <fo:block> levet afvist </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell padding="0.1cm" text-align="justify"> <fo:block> some text </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell border="solid 1px black" text-align="center" padding="0.1cm"> <fo:block>some text</fo:block> <fo:table table-layout="fixed" width="20cm"> <fo:table-column column-width="3cm"/> <fo:table-column column-width="3cm"/> <fo:table-column column-widht="9cm"/> <fo:table-header> <fo:table-cell> <fo:block font-weight="bold">header 1</fo:block> </fo:table-cell> <fo:table-cell> <fo:block font-weight="bold">header 2</fo:block> </fo:table-cell> <fo:table-cell> <fo:block font-weight="bold">header 3</fo:block> </fo:table-cell> </fo:table-header> <fo:table-body> <fo:table-row> <fo:table-cell padding ="0.1cm"> <fo:block font-size="8pt" padding-bottom="0.1cm" padding-top="0.13cm" font-family="Courier" letter-spacing="3pt" text-align="centre"> <xsl:value-of select="param1" /></fo:block> </fo:table-cell> <fo:table-cell padding ="0.1cm"> <fo:block font-size="8pt" padding-bottom="0.1cm" padding-top="0.13cm" font-family="Courier" letter-spacing="3pt" text-align="centre"> <xsl:value-of select="param2" /></fo:block> </fo:table-cell> <fo:table-cell padding ="0.1cm"> <fo:block font-size="8pt" padding-bottom="0.1cm" padding-top="0.13cm" font-family="Courier" letter-spacing="3pt" text-align="centre"> <xsl:value-of select="param3" /></fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> <fo:block>some text</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell padding="0.1cm" text-align="justify"> <fo:block> some text </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell padding="0.1cm" text-align="justify"> <fo:block>some text </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> Note : the text is red is actually creating the problem Thanks in advance for the help. Regards Satish Chennupati Associate Software Engineer ||FUJITSU|GDC India|Infinite Computer Solutions | White Field | ||FUJITSU|Bangalore | India | Mob +91 9663 999 333|| ---------------------------------------------------------------------------------------------------------------------------------------------------------- "Climbing to the top demands strength, whether it is to the top of Mount Everest or to the top of your career.." - Dr. A.P.J Abdul Kalam ---------------------------------------------------------------------------------------------------------------------------------------------------------- P Please consider the environment - do you really need to print this email? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
