note 24872 added to ref.domxml
| From: | jesse dot lovedatspam at spamilicious-hdm dot com | Date: | Fri, 30 Aug 2002 19:09:24 +0000 |
| Subject: | note 24872 added to ref.domxml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36058@lists.php.net to get a copy of this message | ||
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...
--
http://www.php.net/manual/en/ref.domxml.php
http://master.php.net/manage/user-notes.php?action=edit+24872
http://master.php.net/manage/user-notes.php?action=delete+24872
http://master.php.net/manage/user-notes.php?action=reject+24872