Your right J.

It was missing the table-body element.

I have experimented with the xsl. Clay Leeds provided, its
Working. But i havn't managed to get any data in from the xml-file.
I tried this :

             <fo:table-cell padding="1pt">
               <fo:block keep-with-next.within-page="always">
                     <xsl:template match="IMAGEINFO">
                        <fo:block font-size="10px" font-style="italic"
text-align="center">
                   <xsl:apply-templates/>
                          </fo:block>
                     </xsl:template>               
               </fo:block>
             </fo:table-cell>

Have i totaly misunderstood something here, or shouldn't it work?

Jacob Bager
Denmark

-----Original Message-----
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: 25. januar 2003 00:07
To: [EMAIL PROTECTED]
Subject: Re: Howto make tables...


Jacob Bager wrote:
>  (Im using the xsl:fo on a tomcat/cocoon installation., Just for a
> notice.)
...
> Every time i try, putting it through for .pdf i get 'The file is 
> damaged'.

Most likely there is a problem with the FO. One cause
often seen with tables is a missing table body element.
Look into the cocoon logs for exceptions and error
messages.
You should develop everything with the FOP command line application,
perhaps using the -d flag, in order to get error messages more
conveniently.

J.Pietschmann


---------------------------------------------------------------------
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]

Reply via email to