Forum


Replies: 12   Views: 388
Column removal
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 fairshareitservices  · 04-06-2024 - 09:14

Okay if we know the table then can we remove //w:tbl[1]

'customQuery' => '//w:tbl[1]/w:tr/w:tc[2]',

selects second cells (w:tc tag) of all rows (w:tr tag) in the first table (w:tbl tag) using XPath.