Eh been trying to parse an xml that is saved in the server to be able to extract a data and be able to save it in a variable, I use this simple code:
$file = $_SERVER['DOCUMENT_ROOT'].'/assets/html2pdf/xml.xml';
$xmltoprint=simplexml_load_file($file);
var_dump($xmltoprint);
The problem is that it is not complete, it only reaches a quarter of what it is. the file weighs a lot if 12kb, is there any other function that does what I need or is there a way to get the data directly ?, the one I need is a timestamps field.