Forum


Replies: 6   Views: 156
Indexer: check or exclude externals resources

Posted by Bouillou  · 28-11-2024 - 10:53

Can you help me to understand how to use getDocxPathQueryInfo to check if external links exists ?

$referenceNode = array(
    'type' => '*',
);
$queryInfo = $this->docx->getDOCXPathQueryInfo($referenceNode);

queryInfo returns only 

array:3 [â–¼
  "elements" => DOMNodeList {#2300 â–¼
    +length: 35
  }
  "length" => 35
  "query" => "//w:body/*[1=1]"
]