Word to DITA Conversion Batch Converter Add-On Table Titles
Posted: Fri Jun 03, 2022 6:07 pm
Hello!
I need to convert Word files to DITA XML for work. Some of these files contain tables with table titles above them like so: Currently, this gives an output similar to the following: But I would like it to look something like this: Would it be possible to, using the Batch Converter Add-On, map these table titles to a <title> element wrapped in the <table> element for the table itself?
The title is currently sitting in the paragraph above. However, originally, the titles were in the first row of the table, and a Word macro is used to remove them. So, alternatively, could the title be mapped to a <title> element somehow from the first row of the table? If not, since this macro currently removes them automatically, the titles could be pasted in Word with a specific Word style, and then I believe I am able to map that style to the <title> element - this has raised a problem for me as I can not determine how to wrap the <title> element inside the <table> element for the table below it.
I need to convert Word files to DITA XML for work. Some of these files contain tables with table titles above them like so: Currently, this gives an output similar to the following: But I would like it to look something like this: Would it be possible to, using the Batch Converter Add-On, map these table titles to a <title> element wrapped in the <table> element for the table itself?
The title is currently sitting in the paragraph above. However, originally, the titles were in the first row of the table, and a Word macro is used to remove them. So, alternatively, could the title be mapped to a <title> element somehow from the first row of the table? If not, since this macro currently removes them automatically, the titles could be pasted in Word with a specific Word style, and then I believe I am able to map that style to the <title> element - this has raised a problem for me as I can not determine how to wrap the <title> element inside the <table> element for the table below it.