Forum


Replies: 6   Views: 674
Get <w:lastrenderedpagebreak/>, <w:tab/>,<w:t xml:space="preserve">
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 phosira  · 16-11-2022 - 12:09

  $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?