OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: roundtrip: TableTitle / TableEntry


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 @@
 <!ENTITY figure "w:p[w:pPr/w:pStyle[@w:val='figure']]">
 <!ENTITY figuretitle "w:p[w:pPr/w:pStyle[@w:val='figure-title']]">
 <!ENTITY figurecaption "w:p[w:pPr/w:pStyle[@w:val='figure-title']]">
-<!ENTITY tabletitle "w:p[w:pPr/w:pStyle[@w:val='table-title']]">
+<!ENTITY tabletitle "w:p[w:pPr/w:pStyle[@w:val='TableTitle']]">
 <!ENTITY exampletitle "w:p[w:pPr/w:pStyle[@w:val='example-title']]">
 <!ENTITY mediaobjecttitle "w:p[w:pPr/w:pStyle[@w:val='mediaobject-title']]">
 <!ENTITY mediaobjectcotitle
"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']]">
        <thead>
          <xsl:apply-templates mode="tableheader"
                  select="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]"/>
        </thead>
      </xsl:if>

Thanks !


-- 
Mathieu


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]