I have XML file with <xi:include
, loading as:
$datas = new SimpleXMLElement( file_get_contents( "data.xml" ) );
$dom = dom_import_simplexml($datas);
$dom->ownerDocument->xinclude();
When I run the script only those <xi:include
without errors get loaded/parsed.
On a different machine the parser is able to process main XML and all includes. In the case of errors in <xi:include
it spits them out together with their location. This helps in debugging.
This looks like config issue but can't locate in php.ini when to correct it.
Any idea?
Thanks.