J.Pietschmann <mailto:[EMAIL PROTECTED]> wrote on Thursday, September 02,
2004 10:16 PM:

> You have to create a blind table, enclosing the two elements:

Great idea, thanks for that!

So my XSLT template is now:

<xsl:template match="h3">
        <fo:table table-layout="fixed" width="100%">
                <fo:table-column
column-width="proportional-column-width(1)"/>
                <fo:table-body>
                        <fo:table-row keep-with-next="always">
                                <fo:table-cell>
                                        <fo:block
xsl:use-attribute-sets="h3">
                                                <xsl:apply-templates/>
                                        </fo:block>
                                </fo:table-cell>
                        </fo:table-row>
                        <fo:table-row>
                                <fo:table-cell>
                                        <fo:block>
                                                <xsl:apply-templates
select="following-sibling::*"/>
                                        </fo:block>
                                </fo:table-cell>
                        </fo:table-row>
                </fo:table-body>
        </fo:table>
        <xsl:apply-templates
select="*[not(preceding-sibling::*[1][self::h3])]"/>
</xsl:template>

Is the  <xsl:apply-templates
select="*[not(preceding-sibling::*[1][self::h3])]"/> put right? I didn't
know where to put...

Another thing. Can i use this template for all headings or do i have to copy
it for each h-tag?


-- 

Mit freundlichem Gruß

Sönke Ruempler
Technik

top concepts Internetmarketing GmbH
Am Steinkamp 7 - D-21684 Stade - Germany
--------------------------------------------------------
http://www.topconcepts.de        Tel. +49 1805 9977 501*
mail: [EMAIL PROTECTED]    Fax. +49 1805 9977 502*
--------------------------------------------------------
SMS Versand ab 9.9 Cent: http://sms-gw.topconcepts.de
--------------------------------------------------------
Handelsregister: AG Stade HRB 5811 - UstId: DE 213645563
--------------------------------------------------------
*) EUR 0,12/Min. (CNS24)
--------------------------------------------------------
--> http://www.topconcepts.de/kundenservice/faq/1/
--> http://learn.to/quote


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to