RE: Table Header problem
Hi, The in the should be replaced with . If not, extra text can be added to (due to default xslt rules) Tcho -Message d'origine- De : Kaustuva Narayan Sharma [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 mai 2004 06:15 À : [EMAIL PROTECTED] Objet : RE: Table Header problem I got it thanksa sily mistake on may part :-) This is my whole xsl file. And tables with headers r generating fine : = http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; exclude-result-prefixes="fo"> http://www.w3.org/1999/XSL/Format";> Header1 Header2 Header3 === -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 7:50 PM To: [EMAIL PROTECTED] Subject: Re: Table Header problem On May 27, 2004, at 6:47 AM, Kaustuva Narayan Sharma wrote: > Hi, > > I am a beginner to FOP. I am trying to convert an XML to PDF from a > Java app. The data is to be displayed in a table. But when I try to > put headers into the table i am getting the following error: > > org.apache.fop.apps.FOPException: Currently only Table Rows are > supported in table body, header and footer > > My xsl looks like this: > == > > > > > > Header1 > > > Header2 > > > Header3 > > > > > > > > > > > > > > > > > > > > > > > > = > > I am using fop-0.20.5. Can you pls suggest as to what could be the > cause? > > Thanks. > > Regards, > > Kaustuv Sharma One problem I notice is that you do not have . You can see an example of a complete table here: http://xml.apache.org/fop/faq.html#keep-with I don't know if it's a problem but there was a lot of extra white space in the table-body. Whitespace is OK, but perhaps there's a bad character in there? Hope this helps! Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Table Header problem
I got it thanksa sily mistake on may part :-) This is my whole xsl file. And tables with headers r generating fine : = http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; exclude-result-prefixes="fo"> http://www.w3.org/1999/XSL/Format";> Header1 Header2 Header3 === -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 7:50 PM To: [EMAIL PROTECTED] Subject: Re: Table Header problem On May 27, 2004, at 6:47 AM, Kaustuva Narayan Sharma wrote: > Hi, > > I am a beginner to FOP. I am trying to convert an XML to PDF from a > Java app. The data is to be displayed in a table. But when I try to > put headers into the table i am getting the following error: > > org.apache.fop.apps.FOPException: Currently only Table Rows are > supported in table body, header and footer > > My xsl looks like this: > == > > > > > > Header1 > > > Header2 > > > Header3 > > > > > > > > > > > > > > > > > > > > > > > > = > > I am using fop-0.20.5. Can you pls suggest as to what could be the > cause? > > Thanks. > > Regards, > > Kaustuv Sharma One problem I notice is that you do not have . You can see an example of a complete table here: http://xml.apache.org/fop/faq.html#keep-with I don't know if it's a problem but there was a lot of extra white space in the table-body. Whitespace is OK, but perhaps there's a bad character in there? Hope this helps! Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Table Header problem
Hi, Your fo output seems to be correct (except that there is no fo:table-column, witch are required by fop to set column width) It could be a wrong transformation (ie there is no table-header or table-body markup in your xml source file). (I suppose that your example is expected result, but not actual output) tcho -Message d'origine- De : Clay Leeds [mailto:[EMAIL PROTECTED] Envoyé : jeudi 27 mai 2004 16:20 À : [EMAIL PROTECTED] Objet : Re: Table Header problem On May 27, 2004, at 6:47 AM, Kaustuva Narayan Sharma wrote: > Hi, > > I am a beginner to FOP. I am trying to convert an XML to PDF from a > Java app. The data is to be displayed in a table. But when I try to > put headers into the table i am getting the following error: > > org.apache.fop.apps.FOPException: Currently only Table Rows are > supported in table body, header and footer > > My xsl looks like this: > == > > > > > > Header1 > > > Header2 > > > Header3 > > > > > > > > > > > > > > > > > > > > > > > > > = > > I am using fop-0.20.5. Can you pls suggest as to what could be the > cause? > > Thanks. > > Regards, > > Kaustuv Sharma One problem I notice is that you do not have . You can see an example of a complete table here: http://xml.apache.org/fop/faq.html#keep-with I don't know if it's a problem but there was a lot of extra white space in the table-body. Whitespace is OK, but perhaps there's a bad character in there? Hope this helps! Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table Header problem
On May 27, 2004, at 6:47 AM, Kaustuva Narayan Sharma wrote: Hi, I am a beginner to FOP. I am trying to convert an XML to PDF from a Java app. The data is to be displayed in a table. But when I try to put headers into the table i am getting the following error: org.apache.fop.apps.FOPException: Currently only Table Rows are supported in table body, header and footer My xsl looks like this: == Header1 Header2 Header3 = I am using fop-0.20.5. Can you pls suggest as to what could be the cause? Thanks. Regards, Kaustuv Sharma One problem I notice is that you do not have . You can see an example of a complete table here: http://xml.apache.org/fop/faq.html#keep-with I don't know if it's a problem but there was a lot of extra white space in the table-body. Whitespace is OK, but perhaps there's a bad character in there? Hope this helps! Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Table Header problem
Title: Message Hi, I am a beginner to FOP. I am trying to convert an XML to PDF from a Java app. The data is to be displayed in a table. But when I try to put headers into the table i am getting the following error: org.apache.fop.apps.FOPException: Currently only Table Rows are supported in table body, header and footer My xsl looks like this: == Header1 Header2 Header3 = I am using fop-0.20.5. Can you pls suggest as to what could be the cause? Thanks. Regards, Kaustuv Sharma