note 29760 added to function.domxml-open-file
| From: | et at wkv dot at | Date: | Mon, 24 Feb 2003 14:49:30 +0000 |
| Subject: | note 29760 added to function.domxml-open-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44433@lists.php.net to get a copy of this message | ||
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) :-)
--
http://www.php.net/manual/en/function.domxml-open-file.php
http://master.php.net/manage/user-notes.php?action=edit+29760
http://master.php.net/manage/user-notes.php?action=delete+29760
http://master.php.net/manage/user-notes.php?action=reject+29760