$docx = new CreateDocxFromTemplate('wordUpload/test.docx');
$asd = array(
'type' => 'paragraph',
'contains' => 'BACKGROUND OF THE INVENTION'
);
$queryInfo = $docx->getDocxPathQueryInfo($asd);
print_r($queryInfo);
when i use getDocxPathQueryInfo,
i only return like this.
Array ( [elements] => DOMNodeList Object ( [length] => 1 ) [length] => 1 [query] => //w:body/w:p[1=1 and contains(., 'BACKGROUND OF THE INVENTION')] )
How can i get tags?