word2dita: table title and table contents are in 2 table tag
Posted: Mon Mar 30, 2020 12:47 pm
Hi dita experts,
I use the oxygen 2.2,default word2dita plugin to convert word table to dita table.
* setting in word:
1. set table title style: my_table_title.
* settings in word-builtin-styles-style2tagmap.xml
<paragraphStyle styleName="my_table_title"
containerType="table"
tagName="title"
level="1"
topicZone="body"/>
* an table example
Table 1-1 number example
----------------------------------------------------
1 2 3 4
----------------------------------------------------
7 8 10 15
---------------------------------------------------
* after running the word2dita, the results are
<table > <title > number example </title > </table >
<table > <tgroup> ---<entry> 1<entry> ---- -</tgroup > </table >
table title number example and table contents 1,2,3,4, are in 2 dita tables, which are not ok. all converted contents should be in one table.
Any suggestions?
thanks!
Lisa Zeng
I use the oxygen 2.2,default word2dita plugin to convert word table to dita table.
* setting in word:
1. set table title style: my_table_title.
* settings in word-builtin-styles-style2tagmap.xml
<paragraphStyle styleName="my_table_title"
containerType="table"
tagName="title"
level="1"
topicZone="body"/>
* an table example
Table 1-1 number example
----------------------------------------------------
1 2 3 4
----------------------------------------------------
7 8 10 15
---------------------------------------------------
* after running the word2dita, the results are
<table > <title > number example </title > </table >
<table > <tgroup> ---<entry> 1<entry> ---- -</tgroup > </table >
table title number example and table contents 1,2,3,4, are in 2 dita tables, which are not ok. all converted contents should be in one table.
Any suggestions?
thanks!
Lisa Zeng