note 50854 added to function.dom-domdocument-createprocessinginstruction

From: Date: Fri, 11 Mar 2005 16:53:14 +0000
Subject: note 50854 added to function.dom-domdocument-createprocessinginstruction
Groups: php.notes 
Request: Send a blank email to php-notes+get-86255@lists.php.net to get a copy of this message
Used like this: <?php $dom = new DOMDocument('1.0', 'UTF-8'); $dom->appendChild($dom->createProcessingInstruction( 'xml-stylesheet', 'href="test.xsl" type="text/xsl"')); ?> it produces this: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="test.xsl" type="text/xsl"?> Just as the instruction in XSLT :) ---- Manual Page -- http://www.php.net/manual/en/function.dom-domdocument-createprocessinginstruction.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50854 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50854&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50854&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50854&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50854&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50854&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50854&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86255) next »