create_processing_instruction

From: Date: Mon, 10 Nov 2003 10:14:06 +0000
Subject: create_processing_instruction
Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-251@lists.php.net to get a copy of this message
Hi ! I tried to use the create_processing_instruction method from the DOMXML library (PHP 4.3.3) : $xsl = $dom->create_processing_instruction('','xml-stylesheet type="text/xsl" href="'.$pathXSL.'"'); Unfortunately, when I dump, the result is something like that : <? xml-stylesheet type="text/xsl" href="style.xsl"?> See the white space after <? ??? That white space makes my XML document invalid ! What should I do ? Joe, pour little programmer.

« previous php.xml.dev (#251) next »