note 43141 deleted from function.domxsltstylesheet-process by sobak

From: Date: Tue, 22 Nov 2016 03:35:04 +0000
Subject: note 43141 deleted from function.domxsltstylesheet-process by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207372@lists.php.net to get a copy of this message
Note Submitter: regis at nvision dot lu ---- Needless to say that xslt_parameters is an associative array. So for instance: <?php $document = new DOMDocument('/path/to/xmldata'); // Unfortunately there's no such method for DomXsltStylesheet $stylesheet = domxml_xslt_stylesheet_file('/path/to/stylesheet'); $params = array( 'param1' => 'value1' ... , 'paramN' => 'valueN' ); $result = $stylesheet->process($document, $params); ?> As far as the param_is_xpath argument is concerned, XPath W3REC doesn't mention any parameter at any time ! That must be a DOM feature, which I'm not keen with yet... Bye

« previous php.notes (#207372) next »