xsl-list
[Top] [All Lists]

Problem constructing table in XSL-FO

2003-02-03 04:09:05
Hello ,
  I am constructing a simple table in XSL-FO. The
stylesheet below is not giving any error, but it is
not showing anything in the output.

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
        <fo:layout-master-set>
             <fo:simple-page-master master-name="A4"
                    page-height="297mm"
                    page-width="210mm"
                    margin-left="20.3mm"
                    margin-right="20.3mm"
                    margin-top="10.8mm"
                    margin-bottom="15.2mm" >
                    <fo:region-body margin-top="20mm"
                              margin-bottom="20mm" />
                    <fo:region-before extent="12.7mm"
/>  
                    <fo:region-after extent="8.46mm"
/>
              </fo:simple-page-master>
       </fo:layout-master-set>

        <fo:page-sequence master-reference="A4">
                <fo:flow flow-name="xsl-region-body">
                        <fo:table-and-caption>
                          <fo:table>             
                            <fo:table-body>                                     
                                                
                        <fo:table-row>
                                <fo:table-cell>
                                        <fo:block>abc</fo:block>
                                </fo:table-cell>
                                <fo:table-cell>
                                        <fo:block>pqr</fo:block>
                                </fo:table-cell>
                           </fo:table-row>
                           </fo:table-body>
                        </fo:table>
                </fo:table-and-caption>
        </fo:flow>
        
        </fo:page-sequence>

</fo:root>

What is the error in the above program?

Regards,
Mukul



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>