Hello,
The customQuery option available in DOCXPath and DOCXCustomizer methods uses XPath (XML Path Language) to query contents. XPath is an XML standard language.
To understand how XPath works, we recommend you read the documentation available on https://www.w3schools.com/xml/xpath_intro.asp.
The customQuery sample from our previous reply:
'customQuery' => '//w:tbl[1]/w:tr/w:tc[2]',
selects the second cells (w:tc tag) of all rows (w:tr tag) in the first table (w:tbl tag) using XPath.
Regards.