Hello!

I try to export DocBook with the XML-filter. That works great! But I find 
out that tables with different borders are not implemented. 

So I try to modify the sofftodocbookheadings.xsl in the template 
table:table part. 

I read the code for WordML files and understand the basic structure. The 
content.xml have the part with the office:automatic-styles and the 
office:body for the content. I try to read in the style part the 
style:properties tag. 

<xsl:key name="table-cell-style" match=
"style:[EMAIL PROTECTED]:family='table-cell']" use="@style:name"/>

<xsl:template match="table:table">
                <xsl:variable name="cell-style-properties" select=
"key('table-cell-style',concat(@table:style-name, 
'.A1'))/style:properties"/> 
I want to specify with the xsl:key all table-cell in the style:style 
element. It's the code from the WordML implementation and this work there. 


I the variable I want to get the part with the table name append with A1. 
In this element only the style:properties element. But I get no results. 

I will post the OO XML structure of the style part.

<office:automatic-styles>
                .
                .
                .
                <style:style style:name="Tabelle1.A1" 
                                style:family="table-cell">
                        <style:properties fo:padding="0.049cm"
                                fo:border-left="0.035cm solid #000000" 
                                fo:border-right="none"
                                fo:border-top="0.035cm solid #000000" 
                                fo:border-bottom="0.035cm solid #000000" 
/>
                </style:style>
                .
                .
                .
</office:automatic-styles>

The next thing is. I want to implement this function but I don't know who 
can put this in the next OO version.

Please help

Holger

Reply via email to