note 24872 deleted from ref.domxml by vincent
| From: | vincent@php.net | Date: | Thu, 11 Sep 2003 21:05:33 +0000 |
| Subject: | note 24872 deleted from ref.domxml by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56273@lists.php.net to get a copy of this message | ||
Note Submitter: jesse.lovedatspam@spamilicious-hdm.com
----
Chiefgeek, thanks for figuring some of this new stuff out.
domxml_xslt_stylesheet_doc is most likely going to take an Object of the DomDocument class, that
represents your stylesheet. That function, along with the others you mentioned, pretty much covers
any possible way to create a XsltStylesheet Object.
Why, you might ask, would you want to create an XsltStylesheet object out of a stylesheet you
already have as a doc object? The existing doc object is of the class DomDocument, and does not
have the ->process() method that is so nice.
Xsltstylesheet->process has one required parameter: the DomDocument of the XML you want to style.
It also appears to have two optional parameters, one array of xslt parameters, and one boolean (?)
for xpath parameters, though in the code I don't see the second one doing anything yet...