note 43141 added to function.domxsltstylesheet-process

From: Date: Thu, 10 Jun 2004 18:48:01 +0000
Subject: note 43141 added to function.domxsltstylesheet-process
Groups: php.notes 
Request: Send a blank email to php-notes+get-70897@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.domxsltstylesheet-process.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43141 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43141&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43141&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70897) next »