note 36735 added to function.domdocument-create-processing-instruction
| From: | rj dot kamp at rn2 dot php dot net | Date: | Mon, 20 Oct 2003 20:29:02 +0000 |
| Subject: | note 36735 added to function.domdocument-create-processing-instruction | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58954@lists.php.net to get a copy of this message | ||
Please note that you have to use this function the following way to add a stylsheetr for client side
processing.
$pi = $myDoc->create_processing_instruction('','xsl-stylesheet
type="text/xsl" href="path_to_my_stylesheet"');
$myDoc->append_child($pi);
And note you have to add this to the document before the rootnode.
----
Manual Page -- http://www.php.net/manual/en/function.domdocument-create-processing-instruction.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36735
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36735&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36735&report=yes
Search -- http://master.php.net/manage/user-notes.php