note 94155 added to xsltprocessor.construct

From: Date: Tue, 20 Oct 2009 07:18:03 +0000
Subject: note 94155 added to xsltprocessor.construct
Groups: php.notes 
Request: Send a blank email to php-notes+get-161892@lists.php.net to get a copy of this message
There are two errors in the previous code, the following correction: <?php $xsl = new XSLTProcessor(); $xsldoc = new DOMDocument(); $xsldoc->load($xsl_filename); $xsl->importStyleSheet($xsldoc); $xmldoc = new DOMDocument(); $xmldoc->load($xml_filename); echo $xsl->transformToXML($xmldoc); ?> ---- Server IP: 89.31.146.176 Probable Submitter: 193.252.194.131 ---- Manual Page -- http://www.php.net/manual/en/xsltprocessor.construct.php Edit -- https://master.php.net/note/edit/94155 Del: integrated -- https://master.php.net/note/delete/94155/integrated Del: useless -- https://master.php.net/note/delete/94155/useless Del: bad code -- https://master.php.net/note/delete/94155/bad+code Del: spam -- https://master.php.net/note/delete/94155/spam Del: non-english -- https://master.php.net/note/delete/94155/non-english Del: in docs -- https://master.php.net/note/delete/94155/in+docs Del: other reasons-- https://master.php.net/note/delete/94155 Reject -- https://master.php.net/note/reject/94155 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161892) next »