docbook-apps

roundtrip: TableTitle / TableEntry

  • 1.  roundtrip: TableTitle / TableEntry

    Posted 02-17-2007 01:53
    Hello there,

    I am trying again roundtrip today and I having some more issues,
    namely with table. It seems that roundtrip is complaining about the
    use of TableTitle and TableEntry. I am using the same XML file as bug
    #1646648 (Page244.xml). After digging into the code I believe I need
    to change:

    $ svn di
    Index: wordml-final.xsl
    ===================================================================
    --- wordml-final.xsl (revision 6616)
    +++ wordml-final.xsl (working copy)
    @@ -37,7 +37,7 @@



    -
    +


    "w:p[w:pPr/w:pStyle[@w:val='mediaobjectco-title']]">
    @@ -427,6 +427,7 @@


    But for TableEntry I cannot figure out what I need to do to get it
    into thead. What is "tableheader" in:

    <xsl:if test="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]">

    <xsl:apply-templates mode="tableheader"
    select="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]"/>

    </xsl:if>

    Thanks !


    --
    Mathieu