note 29760 deleted from function.domxml-open-file by sobak
| From: | sobak@php.net | Date: | Tue, 22 Nov 2016 03:33:23 +0000 |
| Subject: | note 29760 deleted from function.domxml-open-file by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207356@lists.php.net to get a copy of this message | ||
Note Submitter: et at wkv dot at
----
domxml documentation is a moving target, for 4.2.3 a working example is:
<?
$xmlpath = dirname(__FILE__) . "\\";
$xmldoc = domxml_open_file( $xmlpath . "test.xml");
$xsldoc = domxml_xslt_stylesheet_file ( $xmlpath . "test.xsl");
$result = $xsldoc->process($xmldoc);
print $result->dump_mem();
?>
RTFS is a working method in this case (lucky guesses work also from time tor time) :-)