xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eldho George <geor...@ocwen.co.in>
Subject problem with table
Date Thu, 09 Sep 2004 14:48:46 GMT
Hi all
I have some problem with table .It showing the table with entire page width.
That means suppose I have created only one column, it will occupy the entire
page width and show the column with that much of width. I want to make the
table according to the table content.(That means the same way as the browser
displayed the table if the width attribute is present). Following is my code
snippet. Please help me how can I solve this problem? Please tell me where I
made mistake?Any other attributes will help me?
<?xml version="1.0"?>
<xsl:template match="html"> 
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
                    <fo:simple-page-master master-name="A4"
                       page-width="21cm"  page-height="29.7cm"
                       margin-top="36pt"  margin-bottom="36pt"
                       margin-left="72pt" margin-right="72pt">
                      <fo:region-before extent="0.25in"/>
                      <fo:region-body margin-top="1.5cm"
margin-bottom="1.5cm" margin-left="0mm" margin-right="0mm"/>
                      <fo:region-after  extent="0.4in"/>
            <fo:page-sequence master-reference="A4"
        initial-page-number="1" language="en" hyphenate="true"> 
                        <fo:static-content flow-name="xsl-region-before">
                                    <fo:block border-bottom-width="1px"
<fo:block font-weight="normal" text-align="start" keep-together="always">
<xsl:text>Ocwen financial solution pvt. Ltd.</xsl:text>
<fo:block font-weight="normal" text-align="end" keep-together="always">

            <fo:flow flow-name="xsl-region-body">
                        <fo:block  hyphenate="true">
                                    <fo:table table-layout="fixed">
<fo:block border="solid 1pt">
hello this is sample
Thanks all

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


View raw message