Forum


Replies: 3   Views: 983
Export siblings table
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by s.montanarella  · 09-11-2021 - 09:01

Hi',

I've this html structure:

<table id="tab1">
...
</table>
<table id="tab2">
...
</table>

I tried also to wrap both tables in a single p tag or every single table in a p tag, but result doesn't change.

Inside the resulting docx a paragraph is added between the tables, in xml I've this:

    </w:tbl>
    <w:p/>
    <w:tbl>

instead of this (manually modified in the docx after exporting):

</w:tbl>
<w:tbl>

How can I achieve this?

 

Thanks, Federico