I attached my xslt file . I need help with this its urgent.
thank u very much.
Jeremias Maerki-2 wrote:
>
> Yes, you do. If you pretty-print this XML content you'll see that a
> second table is started within a table-cell. But with only seeing part
> of a stylesheet there's no big chance we can help. It's better to
> attach a full FO file generated from the stylesheet. That, we can easily
> run ourselves and test.
>
> On 05.01.2007 16:14:49 rns30 wrote:
>>
>> no.......... I don't have nested tables. The code generated by altova
>> stylesheet for table is
>>
>> <xsl:variable name="tablewidth0" select="$maxwidth * 0.85000"/>
>> <xsl:variable name="sumcolumnwidths0" select="2.50000 + 0.04167 + 0.30208
>> +
>> 0.04167 + 8.79167 + 0.04167"/>
>> <xsl:variable name="factor0">
>> <xsl:choose>
>> <xsl:when test="$sumcolumnwidths0 > 0.00000 and $sumcolumnwidths0 >
>> $tablewidth0">
>> <xsl:value-of select="$tablewidth0 div $sumcolumnwidths0"/>
>> </xsl:when>
>> <xsl:otherwise>
>> <xsl:value-of select="1.000"/>
>> </xsl:otherwise>
>> </xsl:choose>
>> </xsl:variable>
>> <xsl:variable name="columnwidth0_0" select="2.50000 * $factor0"/>
>> <xsl:variable name="columnwidth0_1" select="0.30208 * $factor0"/>
>> <xsl:variable name="columnwidth0_2" select="8.79167 * $factor0"/>
>> <fo:table width="{$maxwidth}in">
>> <fo:table-column column-width="{($maxwidth - $tablewidth0) div
>> 2.000}in"/>
>> <fo:table-column column-width="{$tablewidth0}in"/>
>> <fo:table-column column-width="{($maxwidth - $tablewidth0) div
>> 2.000}in"/>
>> <fo:table-body>
>> <fo:table-row>
>> <fo:table-cell>
>> <fo:block/>
>> </fo:table-cell>
>> <fo:table-cell>
>> <fo:block>
>> <fo:table width="{$tablewidth0}in" border-collapse="separate"
>> border-separation="0.04167in" text-align="center" color="black"
>> display-align="center">
>> <fo:table-column column-width="{$columnwidth0_0}in"/>
>> <fo:table-column column-width="{$columnwidth0_1}in"/>
>> <fo:table-column column-width="{$columnwidth0_2}in"/>
>> <fo:table-body>
>> <fo:table-row>
>> <fo:table-cell padding-top="0.02083in" padding-bottom="0.02083in"
>> padding-left="0.02083in" padding-right="0.02083in">
>> <fo:block padding-top="1pt" padding-bottom="1pt">
>> <fo:inline font-size="6pt" font-weight="bold" text-align="justify">
>> <xsl:text>Tracking ID      </xsl:text>
>> </fo:inline>
>> </fo:block>
>> </fo:table-cell>
>> <fo:table-cell padding-top="0.02083in" padding-bottom="0.02083in"
>> padding-left="0.02083in" padding-ght="0.02083in">
>> <fo:block padding-top="1pt" padding-bottom="1pt">
>> <fo:inline font-size="6pt" font-weight="bold" text-align="justify">
>> <xsl:text>: </xsl:text>
>> </fo:inline>
>>
>> <fo:inline <font-size="6pt" text-align="justify">
>>
>> <xsl:text> </xsl:text>
>>
>> </fo:inline>
>> </fo:block>
>> </fo:table-cell>
>>
>> <fo:table-cell padding-top="0.02083in"
>> padding-bottom="0.02083in"
>> padding-left="0.02083in" padding-right="0.02083in">
>> <fo:block padding-top="1pt" padding-bottom="1pt">
>> <xsl:for-each select="FOA">
>> <xsl:for-each select="Tracking_Id">
>> <fo:inline font-size="6pt" font-weight="normal">
>> <xsl:apply-templates>
>> <xsl:with-param name="maxwidth" select="$columnwidth0_2 - 0.02083 -
>> 0.02083"/>
>> </xsl:apply-templates>
>> </fo:inline>
>> </xsl:for-each>
>> </xsl:for-each>
>> </fo:block>
>> </fo:table-cell>
>> </fo:table-row>
>>
>> cbowditch wrote:
>> >
>> >
>> > Can u please check this code and let me know wht's the problem. I
>> > appreciate ur help . I am new to this work.
>> > Some thing is wrong is table tag which fop is not recognising , i am
>> not
>> > able to figure it out.
>> > thanks
>> > rns
>> > rns30 wrote:
>> >
>> >> Hi,
>> >> I am also trying to create rtf. with Altova wht type of xslt r u
>> >> generating? I am creating XSLT-FO file, when I pass this file to fop ,
>> I
>> >> can
>> >> produce the rtf.
>> >> but, when I use tables for formatting in xslt , I am getting a error
>> >
>> > THe RTF renderer is not as complete or mature as the PDF and PS
>> > Renderers in FOP. I know that nested tables don't work in RTF. Can you
>> > check to see if you are generating nested tables in your XSL-FO?
>> >
>> > Thanks,
>> >
>> > Chris
>> >
>> >
>> >
>
>
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
http://www.nabble.com/file/5310/reference.xslt reference.xslt
--
View this message in context:
http://www.nabble.com/altova-stylevision-fop-rtf-tf1930320.html#a8179921
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]