note 36998 added to function.domdocument-xinclude

From: Date: Thu, 30 Oct 2003 05:33:35 +0000
Subject: note 36998 added to function.domdocument-xinclude
Groups: php.notes 
Request: Send a blank email to php-notes+get-59510@lists.php.net to get a copy of this message
Example use for $dom->xinclude(); <?php $xi=' <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="dom.xml"> <xi:fallback> <error>xinclude:dom.xml not found</error> </xi:fallback> </xi:include> </root> '; $domxml=@domxml_open_mem($xi,DOMXML_LOAD_VALIDATING); $domxml->xinclude(); echo htmlentities($domxml->dump_mem()); ?> It is helpfull for gettin a Error Message, if XML File could not found! I hope this helps... ---- Manual Page -- http://www.php.net/manual/en/function.domdocument-xinclude.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36998 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36998&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36998&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#59510) next »